Update uriloader.js

This commit is contained in:
Namhyeon Go 2020-11-04 16:57:50 +09:00
parent 52306dacdd
commit ea92036b85

View File

@ -30,9 +30,11 @@ exports.main = function(args) {
cmd.push("app.hta"); cmd.push("app.hta");
cmd.push(uri); // passing URI to application cmd.push(uri); // passing URI to application
break; break;
case "mscalc": case "mscalc":
cmd.push("calc.exe"); cmd.push("calc.exe");
break; break;
case "msie": case "msie":
//cmd.push("%PROGRAMFILES%\\Internet Explorer\\iexplore.exe"); //cmd.push("%PROGRAMFILES%\\Internet Explorer\\iexplore.exe");
//cmd.push("https://github.com/gnh1201/welsonjs"); //cmd.push("https://github.com/gnh1201/welsonjs");
@ -40,26 +42,33 @@ exports.main = function(args) {
"https://github.com/gnh1201/welsonjs" "https://github.com/gnh1201/welsonjs"
]); ]);
break; break;
case "msexcel": case "msexcel":
cmd.push("%PROGRAMFILES%\\Microsoft Office\\Office15\\EXCEL.EXE"); cmd.push("%PROGRAMFILES%\\Microsoft Office\\Office15\\EXCEL.EXE");
break; break;
case "mspowerpoint": case "mspowerpoint":
cmd.push("%PROGRAMFILES%\\Microsoft Office\\Office15\\POWERPNT.EXE"); cmd.push("%PROGRAMFILES%\\Microsoft Office\\Office15\\POWERPNT.EXE");
break; break;
case "msword": case "msword":
cmd.push("%PROGRAMFILES%\\Microsoft Office\\Office15\\WINWORD.EXE"); cmd.push("%PROGRAMFILES%\\Microsoft Office\\Office15\\WINWORD.EXE");
break; break;
case "msaccess": case "msaccess":
cmd.push("%PROGRAMFILES%\\Microsoft Office\\Office15\\MSACCESS.EXE"); cmd.push("%PROGRAMFILES%\\Microsoft Office\\Office15\\MSACCESS.EXE");
break; break;
case "ldmultiplayer": case "ldmultiplayer":
cmd.push("%SYSTEMDRIVE%\\LDPlayer\LDPlayer3.0\\dnmultiplayer.exe"); cmd.push("%SYSTEMDRIVE%\\LDPlayer\LDPlayer3.0\\dnmultiplayer.exe");
break; break;
case "noxmultiplayer": case "noxmultiplayer":
cmd.push("%PROGRAMFILES(X86)%\\Nox\\bin\\MultiPlayerManager.exe"); cmd.push("%PROGRAMFILES(X86)%\\Nox\\bin\\MultiPlayerManager.exe");
break; break;
dafault:
console.log("Unknown application"); dafault:
console.log("Unknown application");
} }
if (typeof(query.args) !== "undefined") { if (typeof(query.args) !== "undefined") {