Updates the version of the software to beta
All checks were successful
KnarCraft/Minecraft-Server-Launcher/pipeline/head This commit looks good
All checks were successful
KnarCraft/Minecraft-Server-Launcher/pipeline/head This commit looks good
This commit is contained in:
parent
39a8c14ece
commit
5058383f93
@ -31,13 +31,13 @@ import static net.knarcraft.minecraftserverlauncher.utility.CommonFunctions.stri
|
||||
public class Main {
|
||||
private static String applicationWorkDirectory;
|
||||
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 ServerLauncherGUI gui;
|
||||
private static final Controller controller = Controller.getInstance();
|
||||
|
||||
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")) {
|
||||
file.print("");
|
||||
} catch (IOException e) {
|
||||
|
@ -1,2 +1,2 @@
|
||||
alpha
|
||||
1.1.0
|
||||
beta
|
||||
1.2.0
|
|
Loading…
Reference in New Issue
Block a user