Skip to content
This repository has been archived by the owner on Nov 20, 2024. It is now read-only.

Commit

Permalink
Add update channel switcher for new updater
Browse files Browse the repository at this point in the history
  • Loading branch information
danieldieeins committed Apr 28, 2024
1 parent 82fe18c commit 7ced328
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public class Application {
public static boolean thirdPartyWarn;
public static String lastInstance;
public static ArrayList<String> args;
public static String updateChannel = "stable";
public static String updateChannel = "old";

public static final Runner runner = new Runner();
public static ArrayList<String> running = new ArrayList<>();
Expand Down
Binary file modified application-main/src/main/resources/ui.zip
Binary file not shown.
6 changes: 4 additions & 2 deletions application-ui/content/assets/zyneon/js/settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,10 @@ function syncGeneral(start,channel) {
channel = "stable";
}

document.getElementById("channel").value = channel;
document.getElementById("updater-settings").style.display = "inherit";
if(channel!=="old") {
document.getElementById("channel").value = channel;
document.getElementById("updater-settings").style.display = "inherit";
}
}

function syncGlobal(memory,instance_path,log) {
Expand Down

0 comments on commit 7ced328

Please sign in to comment.