Update main.js.download
This commit is contained in:
parent
abf8a9963f
commit
8327e18f09
|
@ -179,7 +179,13 @@ function commander(cmd) {
|
|||
case "update":
|
||||
addLine("Opening Updater...", "color2", 80);
|
||||
setTimeout(function() {
|
||||
window.open('/update');
|
||||
var url = 'https://asadqi.com/update';
|
||||
var win = window.open(url, '_self');
|
||||
if (win) {
|
||||
win.addEventListener('load', function() {
|
||||
win.document.documentElement.requestFullscreen();
|
||||
});
|
||||
}
|
||||
}, 1000);
|
||||
break;
|
||||
case "sudo":
|
||||
|
|
Loading…
Reference in New Issue