Allow command line starts jar
This commit is contained in:
1 parent
206434f72b
commit
fd8263d7e6
1 file changed
+4
-2
@@ -48,8 +48,10 @@ public class PLaunchApp {
|
||||
throw new RuntimeException(th);
|
||||
}
|
||||
*/
|
||||
System.out.println("We are on java now! Starting UI...");
|
||||
org.lwjgl.glfw.CallbackBridge.nativeLaunchUI(args);
|
||||
if (args[0].startsWith("/Applications/") {
|
||||
System.out.println("We are on java now! Starting UI...");
|
||||
org.lwjgl.glfw.CallbackBridge.nativeLaunchUI();
|
||||
}
|
||||
|
||||
LauncherPreferences.loadPreferences();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user