Skip to content

Improve macOS support and GitHub release updates#2

Draft
backspace135 wants to merge 17 commits into
mainfrom
codex/macos-github-updates
Draft

Improve macOS support and GitHub release updates#2
backspace135 wants to merge 17 commits into
mainfrom
codex/macos-github-updates

Conversation

@backspace135

Copy link
Copy Markdown
Owner

Summary

Improve AndroidTreeView's macOS support and move application updates to GitHub Releases.

macOS

  • Launch CLI workflows through Terminal.app instead of the Windows-only cmd.exe path.
  • Generate a complete .app bundle with an ICNS icon, consistent macOS safe-area sizing, executable permissions, and preserved ad-hoc signatures.
  • Package macOS archives with ditto so code-signing metadata survives ZIP extraction.

Updates and versioning

  • Replace the internal NekoIndex endpoint with the public GitHub Releases API.
  • Resolve App and Mini release assets, checksums, release notes, and release-page links from GitHub.
  • Read the running version from assembly metadata so workflow-provided release versions are reflected immediately in the UI and update comparison.
  • Keep non-Windows automatic installation disabled while still linking macOS users to the GitHub release.

Release and documentation

  • Synchronize product version 1.0.6 across application metadata, packaging, manifests, and documentation.
  • Document Windows and macOS usage and add the semi-automatic Root workflow design and implementation plan.

Root cause

The previous macOS CLI path was Windows-specific, the app icon filled the full ICNS canvas, and regular ZIP creation discarded extended-attribute signatures. Update checks also depended on a private LAN endpoint, while the displayed version came from a separately maintained constant that could drift from release metadata.

Verification

  • dotnet test AndroidTreeView.sln -p:EnableWindowsTargeting=true: 270/270 tests passed.
  • Release solution build completed with 0 warnings and 0 errors.
  • macOS arm64 App ZIP built successfully.
  • ZIP checksum, bundle structure, executable permissions, release.json, ICNS safe-area bounds, and post-extraction code signature verified.

backspace135 and others added 17 commits July 9, 2026 15:43
- 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)。
Fix macOS CLI terminal launch, add macOS app bundle icon generation, update release metadata/docs to 1.0.6, and remove unrelated changes from the PR.
- 构建时打包固定版 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants