support for commandline arguments
[instantlauncher.git] / src / main / java / eu / svjatoslav / instantlauncher / Main.java
index acab4e3..47f1cba 100755 (executable)
@@ -7,10 +7,14 @@ public class Main {
     public static void main(final String[] args) {
 
         try {
+
+            final CommandlineHandler commandlineHandler = new CommandlineHandler();
+            commandlineHandler.parseCommandlineArguments(args);
+
             final InstantLauncher instantLauncher = new InstantLauncher();
             instantLauncher.run();
         } catch (final Exception e) {
-            ExceptionDialog.showException(e);
+            new ExceptionDialog(e);
         }
     }