first commit

This commit is contained in:
liyp
2026-08-25 22:12:29 -04:00
commit e6e5bd32b5
20 changed files with 3064 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
#!/bin/bash
# =====================================================
# VoiletCStudio Linux 卸载脚本
# =====================================================
set -e
if [ "$EUID" -ne 0 ]; then
echo "请使用 sudo 运行"
exit 1
fi
APP_NAME="VoiletCStudio"
echo "正在卸载 ${APP_NAME}..."
rm -rf "/opt/${APP_NAME}"
rm -f "/usr/local/bin/voiletcstudio"
rm -f "/usr/share/applications/voiletcstudio.desktop"
rm -f "/usr/share/mime/packages/voiletcstudio.xml"
rm -f "/usr/share/icons/hicolor/256x256/apps/voiletcstudio.png"
update-mime-database /usr/share/mime 2>/dev/null || true
update-desktop-database 2>/dev/null || true
echo "${APP_NAME} 已卸载"