Updates the version of the software to beta
All checks were successful
KnarCraft/Minecraft-Server-Launcher/pipeline/head This commit looks good

This commit is contained in:
Kristian Knarvik 2020-08-29 14:03:48 +02:00
parent 39a8c14ece
commit 5058383f93
2 changed files with 4 additions and 4 deletions

View File

@ -31,13 +31,13 @@ import static net.knarcraft.minecraftserverlauncher.utility.CommonFunctions.stri
public class Main { public class Main {
private static String applicationWorkDirectory; private static String applicationWorkDirectory;
private static boolean serversAreRunning = false; private static boolean serversAreRunning = false;
private static final String updateChannel = "alpha"; private static final String updateChannel = "beta";
private static final String updateURL = "https://api.knarcraft.net/minecraftserverlauncher"; private static final String updateURL = "https://api.knarcraft.net/minecraftserverlauncher";
private static ServerLauncherGUI gui; private static ServerLauncherGUI gui;
private static final Controller controller = Controller.getInstance(); private static final Controller controller = Controller.getInstance();
public static void main(String[] args) throws IOException { public static void main(String[] args) throws IOException {
Updater.checkForUpdate(updateURL, updateChannel, gui); Updater.checkForUpdate(updateURL, updateChannel);
try (PrintWriter file = new PrintWriter(Main.getApplicationWorkDirectory() + File.separator + "latestrun.log")) { try (PrintWriter file = new PrintWriter(Main.getApplicationWorkDirectory() + File.separator + "latestrun.log")) {
file.print(""); file.print("");
} catch (IOException e) { } catch (IOException e) {

View File

@ -1,2 +1,2 @@
alpha beta
1.1.0 1.2.0
1 alpha beta
2 1.1.0 1.2.0