remove ia64 keywords
[gentoo-zh.git] / net-im / tencent-qq / files / xdg-open.sh
blob25739c3f867645ff821a21866366be33b84423dd
1 #!/bin/bash
2 URI_TO_OPEN="$1"
4 if ! [ "${URI_TO_OPEN:0:8}" == "jsbridge" ]; then
5 if [ "${URI_TO_OPEN:0:4}" == "http" ]; then
6 /snapd-xdg-open "$URI_TO_OPEN"
7 else
8 /flatpak-xdg-open "$URI_TO_OPEN"
9 fi