mirror of
https://github.com/xiaozhou233/OrangeX-Client.git
synced 2026-12-05 21:15:53 +08:00
refactor: remove Loader module references and update build config
- Remove Loader from settings.gradle, build.gradle, and .idea/gradle.xml - Update config.toml JarPath from Loader.jar to OrangeX.jar - Set Java 8 compatibility in OrangeX build.gradle - Clean up Loader.java imports and remove Detector call
This commit is contained in:
1 parent
ccada5472f
commit
4a25197b3c
7 files changed
+8
-13
No files matched your search
@@ -5,6 +5,7 @@ import org.greenrobot.eventbus.EventBus;
|
||||
@Getter
|
||||
public class OrangeX {
|
||||
public static final OrangeX INSTANCE = new OrangeX();
|
||||
|
||||
private final EventBus eventBus = EventBus.builder()
|
||||
.logNoSubscriberMessages(false)
|
||||
.logSubscriberExceptions(false)
|
||||
|
||||
@@ -1,20 +1,13 @@
|
||||
package cn.xiaozhou233.orangex.loader;
|
||||
|
||||
|
||||
import cn.xiaozhou233.orangex.loader.detector.Detector;
|
||||
import cn.xiaozhou233.orangex.loader.utils.Utils;
|
||||
|
||||
import java.io.File;
|
||||
|
||||
public class Loader {
|
||||
private static ClassLoader minecraftClassLoader;
|
||||
|
||||
public static void start() {
|
||||
System.out.println("======== Loader START ========");
|
||||
minecraftClassLoader = Utils.findMinecraftClassLoader();
|
||||
|
||||
Detector.detect(minecraftClassLoader);
|
||||
System.out.println("======== Loader END ========");
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user