macOS:守护进程收进 .app/Contents/MacOS/.GC/bin #16

Merged
Morris merged 1 commits from release/1.0.11-singlefile into main 2026-11-18 21:50:31 +08:00
Owner

#15 合并后补的一条:macOS 打包时守护进程留在 .app 根,现在收进 .GC/bin。

.GC 位置不变(仍是启动器同级 Contents/MacOS/),与 Windows 布局对齐:

GCL-<版本>-mac-arm64.app/Contents/MacOS/
  GC                  单文件启动器
  GC-UI.app           Flutter 前端
  .GC/bin/GC-SAVEDOG  非本体文件(首启复制到 .GC/safedog 再运行)

移动放在 pack_launcher 的 mac 分支,而不是 package_mac_app:后者之后会跑
prepare_runtime_layout,它要清掉 .GC 模板目录,提前放进去会被删。

Windows 产物不受影响(1.0.11 已按此前的包发布,sha256 不变)。

#15 合并后补的一条:macOS 打包时守护进程留在 `.app` 根,现在收进 `.GC/bin`。 `.GC` 位置不变(仍是启动器同级 `Contents/MacOS/`),与 Windows 布局对齐: ``` GCL-<版本>-mac-arm64.app/Contents/MacOS/ GC 单文件启动器 GC-UI.app Flutter 前端 .GC/bin/GC-SAVEDOG 非本体文件(首启复制到 .GC/safedog 再运行) ``` 移动放在 `pack_launcher` 的 mac 分支,而不是 `package_mac_app`:后者之后会跑 `prepare_runtime_layout`,它要清掉 `.GC` 模板目录,提前放进去会被删。 Windows 产物不受影响(1.0.11 已按此前的包发布,sha256 不变)。
Morris added 1 commit 2026-11-18 21:14:30 +08:00
macOS 的 .GC/bin 也随包分发:守护进程不再落在 .app 根
PR 审核 / 后端编译 (pull_request) Canceled after 0s
PR 审核 / 后端自检 (pull_request) Canceled after 0s
PR 审核 / 前端检查(Flutter) (pull_request) Canceled after 0s
PR 审核 / 安全扫描 (pull_request) Canceled after 0s
PR 审核 / 审核汇总 (pull_request) Canceled after 0s
22baa6fda9
- pack_launcher 的 macOS 分支把包内 GC-SAVEDOG 移进 .app/Contents/MacOS/.GC/bin,
  与 Windows 布局一致;.GC 位置不变,仍在启动器同级
- package_mac_app 的注释同步:包里只保留 .GC/bin,模板类目录仍由首次启动创建
- README 补 macOS 的 .GC 位置与守护进程路径
Morris merged commit 2ba4789c95 into main 2026-11-18 21:50:31 +08:00
Author
Owner

此PR由 DeepSeek 生成

此PR由 DeepSeek 生成
Morris deleted branch release/1.0.11-singlefile 2026-11-18 22:45:16 +08:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Morris/GC#16