mirror of
https://github.com/mitb-archive/filebot
synced 2025-03-09 05:51:31 -04:00
If FileBot is called with --license with an interactive console, then force console license activation (to avoid issues when the GUI starts up but X is screwed up on some Linux systems, thus crashing on startup, failing to activate the license)
This commit is contained in:
parent
2dcb3ca2fc
commit
35484ac730
@ -156,7 +156,7 @@ public class ArgumentBean {
|
||||
public List<String> arguments = new ArrayList<String>();
|
||||
|
||||
public boolean runCLI() {
|
||||
return rename || getSubtitles || check || list || mediaInfo || revert || extract || script != null || (license != null && isHeadless());
|
||||
return rename || getSubtitles || check || list || mediaInfo || revert || extract || script != null || (license != null && (isHeadless() || System.console() != null));
|
||||
}
|
||||
|
||||
public boolean isInteractive() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user