-
Notifications
You must be signed in to change notification settings - Fork 12
Closed
Description
Hi, me and my friends tried to play with FoxLoader on Pebblehost but couldn't without manually modifying the code.
This is due to the installer not recognizing "nogui" and immediately returning in main (Pebblehost provides no way to replace this argument, hence the problem existing).
I've made a workaround to make it work which adds nogui and --nogui to the args[0] switch case. The diff is:
--- a/final/src/main/java/com/fox2code/foxloader/installer/Main.java
+++ b/final/src/main/java/com/fox2code/foxloader/installer/Main.java
@@ -42,6 +42,10 @@ public class Main {
System.out.println("--with-server -> Start server with specified server jar");
System.out.println("--test-server -> Like --with-server but only load the strict necessary for ");
return;
+ case "nogui":
+ case "--nogui":
+ server = true;
+ break;
case "--platform":
platform = true;
break;Metadata
Metadata
Assignees
Labels
No labels