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