mirror of
https://github.com/modernw/App-Installer-For-Windows-8.x-Reset.git
synced 2026-06-18 13:20:09 +10:00
Organized the project files.
And also fixed some bugs.
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
(function(global) {
|
||||
global.autoCheckUpdate = false;
|
||||
global.autoInstallUpdate = false;
|
||||
if (Bridge.External.exec1 == true) return;
|
||||
var args = cmdargs;
|
||||
var optionarg = "";
|
||||
if (args.length > 2) {
|
||||
optionarg = args[2];
|
||||
} else {
|
||||
return;
|
||||
}
|
||||
if (
|
||||
Bridge.NString.equals(optionarg, "/checkupdate") ||
|
||||
Bridge.NString.equals(optionarg, "-checkupdate") ||
|
||||
Bridge.NString.equals(optionarg, "checkupdate")
|
||||
) global.autoCheckUpdate = true;
|
||||
if (
|
||||
Bridge.NString.equals(optionarg, "/autoupdate") ||
|
||||
Bridge.NString.equals(optionarg, "-autoupdate") ||
|
||||
Bridge.NString.equals(optionarg, "autoupdate")
|
||||
) {
|
||||
global.autoCheckUpdate = true;
|
||||
global.autoInstallUpdate = true;
|
||||
}
|
||||
Bridge.External.exec1 = true;
|
||||
})(this);
|
||||
Reference in New Issue
Block a user