mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-03-11 16:35:13 +00:00
Update bootstrap.js
This commit is contained in:
parent
f1f24765fd
commit
882b274f4b
8
bootstrap.js
vendored
8
bootstrap.js
vendored
|
@ -20,10 +20,12 @@ return {
|
|||
//REG.importFromFile("app/assets/reg/Add_URI_Scheme.reg");
|
||||
|
||||
// register URI scheme
|
||||
//REG.write(hKey, path, key, value, REG.STRING, computer);
|
||||
REG.write(REG.HKCR, "welsonjs", "", "URL:welsonjs", REG.STRING);
|
||||
REG.write(REG.HKCR, "welsonjs", "URL Protocol", "", REG.STRING);
|
||||
REG.write(REG.HKCR, "welsonjs\\shell\\open\\command", "", "cscript " + SYS.getCurrentScriptDirectory() + "\\app.js uriloader \"%1\"", REG.STRING);
|
||||
|
||||
// open HTA file
|
||||
SHELL.run("app.hta");
|
||||
// open HTA file
|
||||
SHELL.run("app.hta");
|
||||
|
||||
console.log("done");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user