From 65ce3d470d4a6d9c4c409d43fa87bdb8ec642c87 Mon Sep 17 00:00:00 2001 From: Adil Sadqi <42699429+AdilSadqi@users.noreply.github.com> Date: Tue, 4 Apr 2023 16:14:00 +0000 Subject: [PATCH] Update main.js.download --- index_files/main.js.download | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/index_files/main.js.download b/index_files/main.js.download index d16d78b..463c3c5 100644 --- a/index_files/main.js.download +++ b/index_files/main.js.download @@ -175,6 +175,12 @@ function commander(cmd) { setTimeout(function() { window.open('https://www.google.com'); }, 1000); + break; + case "update": + addLine("Opening Updater...", "color2", 80); + setTimeout(function() { + window.open('/update'); + }, 1000); break; case "sudo": addLine("Oh no, you're not admin...", "color2", 80); @@ -211,7 +217,7 @@ function commander(cmd) { }, 500); }, 2500); break; - case "update": + case "update1": loopLines(update, "color2 margin", 1000); setTimeout(function() { location.reload();