mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-04-13 05:20:28 +08:00
* fix: deepin-os can't launch app with desktop file * fix: deepin-os move desktop to clash-verge.desktop --------- Co-authored-by: Yurii.Huang <yurii.huang@dbappsecurity.com.cn>
13 lines
283 B
Bash
13 lines
283 B
Bash
#!/bin/bash
|
|
/usr/bin/clash-verge-service-uninstall
|
|
|
|
. /etc/os-release
|
|
|
|
if [ "$ID" = "deepin" ]; then
|
|
if [ -f "/usr/share/applications/clash-verge.desktop" ]; then
|
|
echo "Removing deepin desktop file"
|
|
rm -vf "/usr/share/applications/clash-verge.desktop"
|
|
fi
|
|
fi
|
|
|