Yurii 8c7227a563
fix: deepin-os can't launch app with desktop file (#6555)
* 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>
2026-03-19 12:08:34 +00:00

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