summarylogtreecommitdiffstats
path: root/xdg-open.sh
diff options
context:
space:
mode:
authorYidaozhan Ya2023-01-03 15:07:02 +0800
committerYidaozhan Ya2023-01-03 15:07:02 +0800
commit1ffcb0daf14f0310abef7a35efb0053176a27e25 (patch)
tree169d50f1e233512824d6ec65a378383aa4a0f527 /xdg-open.sh
parent9f3e3c88891a717deb6fd5b97a703e62d55f3bf2 (diff)
downloadaur-1ffcb0daf14f0310abef7a35efb0053176a27e25.tar.gz
[fix] 更换 flatpak-xdg-utils 以解决文件关联错误
[fix] 修复不跟系统光标主题问题 [opt] 更换简介以跟随 linuxqq 包
Diffstat (limited to 'xdg-open.sh')
-rwxr-xr-xxdg-open.sh4
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