Fix usage of command-line on non-headless systems

This commit is contained in:
MrTimscampi 2018-04-03 12:29:04 +02:00
parent 338edd18f9
commit 9e138f2aad

View File

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