fix: 统一 macOS 应用与服务标识

将 macOS Bundle ID、pkg identifier 和 LaunchAgent 服务标识统一为 com.ydisks.xianyu-helper。

使用 com.ydisks.xianyu-helper.server 管理后台服务,使用 com.ydisks.xianyu-helper.tray 管理托盘控制器。

升级安装时清理旧版 com.christ.ydisks-xianyu-helper LaunchAgent,避免新旧服务重复运行。
This commit is contained in:
Christ committed 2026-08-11 22:02:43 +08:00
1 parent 733a536031
commit 07e91afc22
6 files changed
+24 -15

No files matched your search

+1 -1
View File
@@ -11,7 +11,7 @@ import (
)
func serviceAction(action string) error {
label := envOr("XIANYU_SERVICE_NAME", "com.christ.ydisks-xianyu-helper.server")
label := envOr("XIANYU_SERVICE_NAME", "com.ydisks.xianyu-helper.server")
uid := fmt.Sprint(os.Getuid())
domain := "gui/" + uid
target := domain + "/" + label