diff --git a/source/net/filebot/Main.java b/source/net/filebot/Main.java index 13cdff93..e03e5a72 100644 --- a/source/net/filebot/Main.java +++ b/source/net/filebot/Main.java @@ -145,15 +145,6 @@ public class Main { debug.log(Level.WARNING, "Failed to initialize JavaFX", e); } - // check for application updates - if (!"skip".equals(System.getProperty("application.update"))) { - try { - checkUpdate(); - } catch (Throwable e) { - debug.log(Level.WARNING, "Failed to check for updates", e); - } - } - // check if application help should be shown if (!"skip".equals(System.getProperty("application.help"))) { try { @@ -162,6 +153,15 @@ public class Main { debug.log(Level.WARNING, "Failed to show Getting Started help", e); } } + + // check for application updates + if (!"skip".equals(System.getProperty("application.update"))) { + try { + checkUpdate(); + } catch (Throwable e) { + debug.log(Level.WARNING, "Failed to check for updates", e); + } + } } catch (CmdLineException e) { // illegal arguments => print CLI error message System.err.println(e.getMessage());