Multi-platform support!
This commit is contained in:
@@ -18,11 +18,23 @@
|
||||
"sidecar": true,
|
||||
"execute": true,
|
||||
"open": true,
|
||||
"scope": [{
|
||||
"name" : "open-link",
|
||||
"cmd": "powershell.exe",
|
||||
"args": ["-Command", "Start-Process", {"validator": "\\S+"}]
|
||||
}]
|
||||
"scope": [
|
||||
{
|
||||
"name" : "open-link-win",
|
||||
"cmd": "powershell.exe",
|
||||
"args": ["-Command", "Start-Process", {"validator": "\\S+"}]
|
||||
},
|
||||
{
|
||||
"name" : "open-link-linux",
|
||||
"cmd": "/bin/sh",
|
||||
"args": ["-c", "xdg-open", {"validator": "\\S+"}]
|
||||
},
|
||||
{
|
||||
"name" : "open-link-macos",
|
||||
"cmd": "/bin/bash",
|
||||
"args": ["-c", "open", {"validator": "\\S+"}]
|
||||
}
|
||||
]
|
||||
},
|
||||
"fs": {
|
||||
"all": true,
|
||||
@@ -30,6 +42,9 @@
|
||||
},
|
||||
"path": {
|
||||
"all": true
|
||||
},
|
||||
"os": {
|
||||
"all": true
|
||||
}
|
||||
},
|
||||
"bundle": {
|
||||
|
||||
Reference in New Issue
Block a user