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
ef04c7ce0c
commit
f8efc0b946
1
bootstrap.js
vendored
1
bootstrap.js
vendored
|
@ -27,6 +27,7 @@ return {
|
|||
console.log("Registering URI scheme...");
|
||||
REG.write(REG.HKCR, APPLICATION_NAME, "", "URL:" + APPLICATION_NAME, REG.STRING);
|
||||
REG.write(REG.HKCR, APPLICATION_NAME, "URL Protocol", "", REG.STRING);
|
||||
REG.write(REG.HKCR, APPLICATION_NAME + "\\DefaultIcon", "", SYS.getCurrentScriptDirectory() + "\\app\\favicon.ico,1", REG.STRING);
|
||||
REG.write(REG.HKCR, APPLICATION_NAME + "\\shell\\open\\command", "", "cscript " + SYS.getCurrentScriptDirectory() + "\\app.js uriloader \"%1\"", REG.STRING);
|
||||
|
||||
// open HTA file
|
||||
|
|
Loading…
Reference in New Issue
Block a user