Prevent from running directly on command line

This commit is contained in:
Duy Tran Khanh committed 2021-02-15 12:38:52 +07:00
1 parent 7b136f29d6
commit b1f449b91d
4 files changed
+16 -5

No files matched your search

@@ -38,9 +38,6 @@ public class PLaunchApp {
System.out.println("We are on java now! Starting UI...");
UIKit.launchUI(args);
} else {
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;
}