mirror of
https://github.com/ME1312/SubServers-2.git
synced 2024-09-30 06:17:40 +02:00
31 lines
934 B
Java
31 lines
934 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 {
|
||
|
net.ME1312.SubServers.Host.ExHost.main(args);
|
||
|
}
|
||
|
}
|
||
|
}
|