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
commit 90375acee8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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) {