Skip to content

[codex] Add macOS DevEco support - #1

Open
fallingduck wants to merge 1 commit into
guantw:masterfrom
fallingduck:codex/add-macos-support
Open

[codex] Add macOS DevEco support#1
fallingduck wants to merge 1 commit into
guantw:masterfrom
fallingduck:codex/add-macos-support

Conversation

@fallingduck

Copy link
Copy Markdown

Summary

  • Resolve DevEco Studio Java, keytool, hdc, and hap-sign-tool paths by platform.
  • Add macOS documentation, package metadata, path-resolution tests, and CI coverage.

Why

The signing flow previously assumed Windows-only .exe tools and a Windows DevEco
Studio installation path. This prevented the CLI from locating the bundled tools on
macOS.

Validation

  • python -m ruff check .
  • python -m ruff format --check .
  • python -m pytest --cov (52 passed, 59.79% coverage)
  • Verified the resolved paths against a local macOS DevEco Studio installation.
  • Manually verified hapsign can re-sign and install HAP packages on macOS.

Compatibility

The DevEco SDK layout is version-dependent. The default matches the standard macOS
application bundle; DEVECO_HOME continues to override it for custom installations.

@fallingduck
fallingduck marked this pull request as ready for review August 3, 2026 14:58
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.

1 participant