mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-05-15 06:01:04 +00:00
Update uriloader.js
This commit is contained in:
parent
df57b9f8d2
commit
702235643f
|
@ -6,6 +6,7 @@
|
||||||
|
|
||||||
var SHELL = require("lib/shell");
|
var SHELL = require("lib/shell");
|
||||||
var URI = require("lib/uri");
|
var URI = require("lib/uri");
|
||||||
|
var WINLIBS = require("lib/winlibs");
|
||||||
|
|
||||||
exports.main = function(args) {
|
exports.main = function(args) {
|
||||||
var uri = args[0];
|
var uri = args[0];
|
||||||
|
@ -29,8 +30,11 @@ exports.main = function(args) {
|
||||||
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");
|
||||||
|
WINLIBS.loadLibrary("url").call("FileProtocolHandler", [
|
||||||
|
"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");
|
||||||
|
|
Loading…
Reference in New Issue
Block a user