summarylogtreecommitdiffstats
path: root/xdg-open.sh
diff options
context:
space:
mode:
authorKirukaze Chiyuki2023-11-19 02:11:38 +0800
committerKirukaze Chiyuki2023-11-19 02:11:38 +0800
commit539ace245c104099f0082ee0af289d821ae801b7 (patch)
tree470132c7eb272eea44d66477c1f811a0bac2bbfd /xdg-open.sh
parentb3d99071096c76141b5adb683019174b49b4046b (diff)
downloadaur-539ace245c104099f0082ee0af289d821ae801b7.tar.gz
刷版本号
Diffstat (limited to 'xdg-open.sh')
-rwxr-xr-xxdg-open.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/xdg-open.sh b/xdg-open.sh
index d6c6d882ba08..cfdc9c1da0a8 100755
--- a/xdg-open.sh
+++ b/xdg-open.sh
@@ -1,6 +1,10 @@
#!/bin/bash
URI_TO_OPEN="$1"
+# snapd-xdg-open 和 flatpak-xdg-open 在此处都有使用
+# 一个是为了打开链接,一个是为了使用本地图片查看器打开本地图片
+# 请不要因为你认为依赖重复就把软件包标记为过期
+
if ! [ "${URI_TO_OPEN:0:8}" == "jsbridge" ]; then
if [ "${URI_TO_OPEN:0:4}" == "http" ]; then
/snapd-xdg-open "$URI_TO_OPEN"