SubServers-2/SubServers.Host/src/net/ME1312/SubServers/Host/Launch.java

31 lines
907 B
Java

package net.ME1312.SubServers.Host;
/**
* SubServers/GalaxiEngine Launch Class
*/
public final class Launch {
/**
* Launch SubServers/GalaxiEngine
*
* @param args Launch Arguments
* @throws Exception
*/
public static void main(String[] args) throws Exception {
System.setProperty("apple.laf.useScreenMenuBar", "true");
boolean exists = false;
try {
exists = Class.forName("net.ME1312.Galaxi.Engine.GalaxiEngine") != null;
} catch (Throwable e) {}
if (!exists) {
System.out.println(">> GalaxiEngine.jar Doesn't Exist");
System.out.println(">> ");
System.out.println(">> Please download a build from:");
System.out.println(">> https://github.com/ME1312/GalaxiEngine/releases");
System.exit(1);
} else {
ExHost.main(args);
}
}
}