fix(v0.5.1): dmg 只放 app——系统组件 app 首启自装(李工 14:36 装两个文件离谱收敛) - #112
Merged
Conversation
李工 14:36 反馈:安装小托盘软件还要装两个文件离谱。拂晓 14:38 收敛: 手动安装 = 拖一个 dmg/app;系统组件(LaunchDaemon + sudoers + CLI 软链) 改 app 首启自装(tray 启动检测缺失 → 弹一次管理员授权自动安装)。 - build_dmg.sh:dmg 只含 app(+ README 说明),不再单独打 system.pkg - Cask ghlink.rb:去掉 system.pkg 依赖,app 拖入即用 - service.py:新增 _ensure_macos_system_components()(软链/sudoers/daemon 模板 首启自装,幂等;osascript 管理员授权一次性执行) - tray.py:darwin 启动时调用首启自装 - 版本 bump 0.5.0 -> 0.5.1
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



背景
李工 14:36 反馈「安装小托盘软件还要装两个文件离谱」。拂晓 14:38 收敛方案:
改动
_ensure_macos_system_components()——首启检测软链/sudoers/daemon 模板缺失 → osascript 管理员授权一次性安装(幂等)*.dmg资产收集(v0.5.0 dmg 漏传修复)验证