mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-03-11 16:35:13 +00:00
Update uriloader.js
This commit is contained in:
parent
df57b9f8d2
commit
702235643f
|
@ -6,6 +6,7 @@
|
|||
|
||||
var SHELL = require("lib/shell");
|
||||
var URI = require("lib/uri");
|
||||
var WINLIBS = require("lib/winlibs");
|
||||
|
||||
exports.main = function(args) {
|
||||
var uri = args[0];
|
||||
|
@ -29,8 +30,11 @@ exports.main = function(args) {
|
|||
cmd.push("calc.exe");
|
||||
break;
|
||||
case "msie":
|
||||
cmd.push("%PROGRAMFILES%\\Internet Explorer\\iexplore.exe");
|
||||
cmd.push("https://github.com/gnh1201/welsonjs");
|
||||
//cmd.push("%PROGRAMFILES%\\Internet Explorer\\iexplore.exe");
|
||||
//cmd.push("https://github.com/gnh1201/welsonjs");
|
||||
WINLIBS.loadLibrary("url").call("FileProtocolHandler", [
|
||||
"https://github.com/gnh1201/welsonjs"
|
||||
]);
|
||||
break;
|
||||
case "msexcel":
|
||||
cmd.push("%PROGRAMFILES%\\Microsoft Office\\Office15\\EXCEL.EXE");
|
||||
|
|
Loading…
Reference in New Issue
Block a user