Display error when attempt run on command line
This commit is contained in:
1 parent
40ddae4ec8
commit
57e626b3d3
1 file changed
+4
-2
@@ -38,8 +38,10 @@ public class PLaunchApp {
|
||||
System.out.println("We are on java now! Starting UI...");
|
||||
UIKit.launchUI(args);
|
||||
} else {
|
||||
// Test on cmdline
|
||||
launchMinecraft();
|
||||
System.err.println("UIKit could not be connected when run on command line! Please run from home screen instead. " +
|
||||
"If you didn't see PojavLauncher on home screen, run this command:");
|
||||
System.err.println("uicache -p /Applications/PojavLauncher.app");
|
||||
return;
|
||||
}
|
||||
|
||||
LauncherPreferences.loadPreferences();
|
||||
|
||||
Reference in new issue
Block a user