Skip to content

feat(repo): one-line macOS installer (curl | bash)#86

Merged
sepehr-safari merged 1 commit into
mainfrom
feat/macos-installer
Jul 12, 2026
Merged

feat(repo): one-line macOS installer (curl | bash)#86
sepehr-safari merged 1 commit into
mainfrom
feat/macos-installer

Conversation

@sepehr-safari

Copy link
Copy Markdown
Member

Summary

A one-line macOS installer — curl … | bash installs the latest release and
opens it, with no toolchain and no manual Gatekeeper step.

Closes #85.

Changes

  • scripts/install-macos.sh — resolves the latest release, downloads the DMG,
    verifies its SHA-256 against the release's SHA256SUMS, installs
    OCPP DebugKit Studio.app to /Applications (sudo only if /Applications
    isn't writable), clears the download quarantine, and opens it. Guards for
    macOS + arm64; fails loudly on a checksum mismatch.
  • release.yml — publishes a SHA256SUMS asset (checksums of both packages).
  • README — macOS install is now just the one-liner; the manual download /
    xattr / notarization prose is gone. The Linux tarball note stays.
  • RELEASING / CHANGELOG — updated.

Notes

  • The installer targets the latest release, so it goes live once a release
    carrying SHA256SUMS ships — I'll cut v0.5.2 right after this merges.
  • Verification is integrity against GitHub-over-TLS (checksums + DMG both from the
    release), not an independent code signature. Installing via curl also
    sidesteps the browser-download quarantine, so the first launch is clean.

Verified

  • shellcheck (installer) + actionlint (workflow) clean.
  • Simulated the parse → verify → mount logic against the local v0.5.1 DMG with a
    SHA256SUMS-format checksum: it parses the name + sha, verifies the match,
    rejects a tampered sum, and locates OCPP DebugKit Studio.app in the mounted
    image.

Add scripts/install-macos.sh: fetches the latest release DMG, verifies its
SHA-256 against the release's SHA256SUMS, installs OCPP DebugKit Studio.app to
/Applications, clears the download quarantine, and opens it. Guards for macOS +
arm64 and fails loudly on a checksum mismatch.

release.yml now publishes a SHA256SUMS asset (checksums of both packages). The
README macOS install is collapsed to the one-liner; the manual download / xattr /
notarization prose is removed.

The installer goes live once a release carrying SHA256SUMS is published (v0.5.2).
Verification is integrity against GitHub-over-TLS, not an independent signature.
@sepehr-safari sepehr-safari merged commit ecc0428 into main Jul 12, 2026
3 checks passed
@sepehr-safari sepehr-safari deleted the feat/macos-installer branch July 12, 2026 21:31
sepehr-safari added a commit that referenced this pull request Jul 12, 2026
Bump app.zon to 0.5.2 and date the changelog. This release ships the
one-line macOS installer and the SHA256SUMS release asset (#86).
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.

feat(repo): one-line macOS installer (curl | bash)

1 participant