Fix macOS CLI terminal, add app icon, bump to 1.0.6#1
Open
backspace135 wants to merge 9 commits into
Open
Conversation
- CliLauncher: branch by platform. macOS now writes an equivalent .command shell script with the same numbered menu and opens it in Terminal.app; previously it hardcoded cmd.exe + .bat and failed silently on macOS. - Surface launch failures via Notifier (toast) instead of only logging. - Add cli.unsupported / cli.launchFailed strings to both ResX files. - Packaging: generate AppIcon.icns from atv-icon.png (sips + iconutil) and set CFBundleIconFile so the macOS .app shows an icon in Dock/Finder.
Sync version across AppInfo, App/Mini/Mini.Mac project metadata, app.manifest, packaging scripts, wix, docs, and README.
- Platform badge Windows -> Windows + macOS - Describe as cross-platform (Windows + macOS Apple Silicon), not Windows-only - Generalize the usage section and add a macOS subsection (Terminal.app CLI, drag to /Applications, Gatekeeper). English README already covered this.
分步向导:上传刷机包→提取 boot.img→手机端官方 Magisk 修补→进 bootloader→flash boot,写操作前强制确认+自动备份原始 boot。双平台(Windows/macOS)。
- 构建时打包固定版 Magisk APK(SHA-256 校验),运行时 adb install - 修补改用已装 App 自带的 boot_patch.sh + native 组件,不再桌面侧拆各 ABI 二进制 - 同步 §1.1/§2/§3/§4/§5.1/§6.2/§7/§8/§10/§11/§13 - 保留第 4 步实机验证警告(已装 App 脚本能否被 adb shell 直接调到仍待验证)
…con' into fix/macos-cli-terminal-and-app-icon # Conflicts: # CLAUDE.md
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.
摘要
修复 macOS 上「CLI 终端」无法使用的问题,为 macOS
.app补上图标,并把版本统一 bump 到1.0.6。变更
CLI 终端(macOS)
CliLauncher之前硬编码cmd.exe+.bat,在 macOS 上抛异常且被静默吞掉,点击无反应。现在按平台分支:macOS 生成等价的.commandshell 脚本并用Terminal.app打开,编号菜单(设备信息 / adb shell / logcat / 重启 / 关机 / 原生命令行)与 Windows 一致。Notifiertoast 提示,不再静默。cli.unsupported/cli.launchFailed本地化字符串(中英 ResX 同步)。macOS App 图标
sips+iconutil从atv-icon.png生成AppIcon.icns,并写入Info.plist的CFBundleIconFile,.app现在在 Dock/Finder 显示图标。版本 1.0.6
AppInfo、App/Mini/Mini.Mac 程序集元数据、app.manifest、打包脚本、wix、docs、README。文档
验证
dotnet build AndroidTreeView.sln -p:EnableWindowsTargeting=true通过(0 警告 0 错误)。NekoIndexUpdateServiceTests的 URL 断言,本地环境相关,非本 PR 引入)。.command脚本渲染正确(ANSI 颜色 / 中文 / PATH / SERIAL),open -a Terminal.app成功拉起并执行。备注
本 PR 也包含会话前工作区中已存在的无关改动(
SkeletonBlock.*、MainWindowViewModel.cs、新增CLAUDE.md),按要求一并提交。