X-Git-Url: http://www2.svjatoslav.eu/gitweb/?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Feu%2Fsvjatoslav%2Finstantlauncher%2FMain.java;h=4711aeec5de8ca217fce675f0db77ba75d5eb90e;hb=155895d0ed0f436753bf862287341830653a9c9f;hp=47f1cba44cd1865546ad79094820b513cb2be317;hpb=0d46abdbadb1d25f38408c5ba9958f9a8bf31014;p=instantlauncher.git diff --git a/src/main/java/eu/svjatoslav/instantlauncher/Main.java b/src/main/java/eu/svjatoslav/instantlauncher/Main.java index 47f1cba..4711aee 100755 --- a/src/main/java/eu/svjatoslav/instantlauncher/Main.java +++ b/src/main/java/eu/svjatoslav/instantlauncher/Main.java @@ -1,21 +1,19 @@ -package eu.svjatoslav.instantlauncher; - -import eu.svjatoslav.commons.gui.dialog.ExceptionDialog; +/* + * Instantlauncher. Copyright ©2012-2019, Svjatoslav Agejenko, svjatoslav@svjatoslav.eu + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of version 3 of the GNU Lesser General Public License + * or later as published by the Free Software Foundation. + */ -public class Main { - - public static void main(final String[] args) { +package eu.svjatoslav.instantlauncher; - try { +import java.io.IOException; - final CommandlineHandler commandlineHandler = new CommandlineHandler(); - commandlineHandler.parseCommandlineArguments(args); +class Main { - final InstantLauncher instantLauncher = new InstantLauncher(); - instantLauncher.run(); - } catch (final Exception e) { - new ExceptionDialog(e); - } + public static void main(final String[] args) throws IOException { + new InstantLauncher().run(); } }