feat: 重构 macOS 安装目录与卸载流程

将 macOS 应用固定安装到 /Applications/Ydisks闲鱼助手/,应用包和托盘可执行文件统一使用 Ydisks闲鱼助手 名称。

托盘菜单栏不再显示文字标题,根据后台服务健康状态切换彩色和黑白图标。

新增完整卸载程序,停止新旧 LaunchAgent 及遗留进程,删除应用、服务配置、用户数据、Chromium 缓存和日志,并清理安装包收据。

修正 postinstall 和 preinstall 的应用路径处理,避免 macOS localized 路径导致服务 plist 生成失败。
This commit is contained in:
Christ committed 2026-08-11 23:53:24 +08:00
1 parent 9cb50a229c
commit bfa72fd9b7
9 files changed
+136 -27

No files matched your search

+3 -3
View File
@@ -5,9 +5,9 @@
<key>CFBundleIdentifier</key>
<string>com.ydisks.xianyu-helper</string>
<key>CFBundleName</key>
<string>Ydisks Xianyu Helper</string>
<string>Ydisks闲鱼助手</string>
<key>CFBundleDisplayName</key>
<string>闲鱼管家</string>
<string>Ydisks闲鱼助手</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleVersion</key>
@@ -17,7 +17,7 @@
<key>LSUIElement</key>
<true/>
<key>CFBundleExecutable</key>
<string>xianyu-tray</string>
<string>Ydisks闲鱼助手</string>
<key>CFBundleIconName</key>
<string>AppIcon</string>
<key>CFBundleIconFile</key>