f4a3bfed97
Additionally cleaned up a few classes a bit
40 lines
905 B
Java
40 lines
905 B
Java
package envoy.client;
|
|
|
|
import javafx.application.Application;
|
|
|
|
import envoy.client.ui.Startup;
|
|
|
|
/**
|
|
* Triggers application startup.
|
|
* <p>
|
|
* To allow Maven shading, the main method has to be separated from the
|
|
* {@link Startup} class which extends {@link Application}.
|
|
* <p>
|
|
* Project: <strong>envoy-client</strong><br>
|
|
* File: <strong>Main.java</strong><br>
|
|
* Created: <strong>05.07.2020</strong><br>
|
|
*
|
|
* @author Kai S. K. Engelbart
|
|
* @since Envoy Client v0.1-beta
|
|
*/
|
|
public class Main {
|
|
|
|
private static final boolean DEBUG = false;
|
|
|
|
/**
|
|
* Starts the application.
|
|
*
|
|
* @param args the command line arguments are processed by the
|
|
* client configuration
|
|
* @since Envoy Client v0.1-beta
|
|
*/
|
|
public static void main(String[] args) {
|
|
if (DEBUG) {
|
|
// Put testing code here
|
|
System.out.println();
|
|
System.exit(0);
|
|
}
|
|
Application.launch(Startup.class, args);
|
|
}
|
|
}
|