feat: add x-open

This commit is contained in:
Klesh Wong 2021-07-31 18:03:58 +08:00
parent cec93b201e
commit 8a76a57af2

View File

@ -1,6 +1,6 @@
#!/bin/sh #!/bin/sh
case $(uname -r) in case $(uname -r) in
*microsoft*) powershell.exe -noprofile start-process "$@";; *microsoft*) powershell.exe -noprofile start-process "'$@'";;
*) xdg-open "$@";; *) xdg-open "$@";;
esac esac