From 9e138f2aad0bd3a5b327d25275575160c3679255 Mon Sep 17 00:00:00 2001 From: MrTimscampi Date: Tue, 3 Apr 2018 12:29:04 +0200 Subject: [PATCH] Fix usage of command-line on non-headless systems --- src/main/java/com/rarchives/ripme/App.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/rarchives/ripme/App.java b/src/main/java/com/rarchives/ripme/App.java index 9a6b1d09..67c44ab1 100644 --- a/src/main/java/com/rarchives/ripme/App.java +++ b/src/main/java/com/rarchives/ripme/App.java @@ -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) {