diff options
author | Yidaozhan Ya | 2023-01-03 15:07:02 +0800 |
---|---|---|
committer | Yidaozhan Ya | 2023-01-03 15:07:02 +0800 |
commit | 1ffcb0daf14f0310abef7a35efb0053176a27e25 (patch) | |
tree | 169d50f1e233512824d6ec65a378383aa4a0f527 /xdg-open.sh | |
parent | 9f3e3c88891a717deb6fd5b97a703e62d55f3bf2 (diff) | |
download | aur-1ffcb0daf14f0310abef7a35efb0053176a27e25.tar.gz |
[fix] 更换 flatpak-xdg-utils 以解决文件关联错误
[fix] 修复不跟系统光标主题问题
[opt] 更换简介以跟随 linuxqq 包
Diffstat (limited to 'xdg-open.sh')
-rwxr-xr-x | xdg-open.sh | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/xdg-open.sh b/xdg-open.sh index 76bdf56f14c2..e9a9a6231fe0 100755 --- a/xdg-open.sh +++ b/xdg-open.sh @@ -1,8 +1,6 @@ #!/bin/bash URI_TO_OPEN="$1" -if [ "${URI_TO_OPEN:0:4}" == "http" ]; then - /snapd-xdg-open "$URI_TO_OPEN" -else +if ! [ "${URI_TO_OPEN:0:8}" == "jsbridge" ]; then /real-xdg-open "$URI_TO_OPEN" fi |