Delete old gui, cleanup after new gui merge, bump version to 0.3.1

This commit is contained in:
Eiren Rain authored and GitHub committed 2022-11-22 17:30:08 +03:00
1 parent 70fb9b4a5a
commit 1b27ea6940
77 files changed
+79 -22737

No files matched your search

+2 -12
View File
@@ -1,7 +1,6 @@
package dev.slimevr;
import dev.slimevr.gui.Keybinding;
import dev.slimevr.gui.VRServerGUI;
import dev.slimevr.Keybinding;
import io.eiren.util.logging.LogManager;
import org.apache.commons.cli.*;
import org.apache.commons.lang3.JavaVersion;
@@ -15,7 +14,7 @@ import java.net.ServerSocket;
public class Main {
public static String VERSION = "0.3.0";
public static String VERSION = "0.3.1";
public static VRServer vrServer;
@@ -29,15 +28,8 @@ public class Main {
Options options = new Options();
Option noGui = new Option(
"g",
"no-gui",
false,
"disable swing gui (allow for other gui to be used)"
);
Option help = new Option("h", "help", false, "Show help");
options.addOption(noGui);
options.addOption(help);
try {
cmd = parser.parse(options, args);
@@ -94,8 +86,6 @@ public class Main {
vrServer = new VRServer();
vrServer.start();
new Keybinding(vrServer);
if (!cmd.hasOption("no-gui"))
new VRServerGUI(vrServer);
} catch (Throwable e) {
e.printStackTrace();
try {