Update main.js.download
This commit is contained in:
parent
b9d12b5336
commit
65ce3d470d
|
@ -175,6 +175,12 @@ function commander(cmd) {
|
||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
window.open('https://www.google.com');
|
window.open('https://www.google.com');
|
||||||
}, 1000);
|
}, 1000);
|
||||||
|
break;
|
||||||
|
case "update":
|
||||||
|
addLine("Opening Updater...", "color2", 80);
|
||||||
|
setTimeout(function() {
|
||||||
|
window.open('/update');
|
||||||
|
}, 1000);
|
||||||
break;
|
break;
|
||||||
case "sudo":
|
case "sudo":
|
||||||
addLine("Oh no, you're not admin...", "color2", 80);
|
addLine("Oh no, you're not admin...", "color2", 80);
|
||||||
|
@ -211,7 +217,7 @@ function commander(cmd) {
|
||||||
}, 500);
|
}, 500);
|
||||||
}, 2500);
|
}, 2500);
|
||||||
break;
|
break;
|
||||||
case "update":
|
case "update1":
|
||||||
loopLines(update, "color2 margin", 1000);
|
loopLines(update, "color2 margin", 1000);
|
||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
location.reload();
|
location.reload();
|
||||||
|
|
Loading…
Reference in New Issue