1
0
mirror of https://github.com/RipMeApp/ripme.git synced 2025-08-06 13:56:34 +02:00

Merge pull request #498 from MrTimscampi/headless-fix

Fix usage of command-line on non-headless systems
This commit is contained in:
cyian-1756
2018-04-03 10:43:14 -04:00
committed by GitHub

View File

@@ -47,7 +47,7 @@ public class App {
System.exit(0); System.exit(0);
} }
if (GraphicsEnvironment.isHeadless()) { if (GraphicsEnvironment.isHeadless() || args.length > 0) {
handleArguments(args); handleArguments(args);
} else { } else {
if (SystemUtils.IS_OS_MAC_OSX) { if (SystemUtils.IS_OS_MAC_OSX) {