Fix usage of command-line on non-headless systems
This commit is contained in:
parent
338edd18f9
commit
9e138f2aad
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user