Skip to content

Phase 3 — build.sh produces a working .app bundle #5

@eonist

Description

@eonist

Part of the deployment pipeline umbrella: #3

Goal

bash build.sh compiles a universal binary, assembles a .app bundle, ad-hoc signs it, and zips it to dist/RunnerBar.zip. Double-clicking the .app shows the gray dot in the menu bar.

Acceptance test

  1. Run bash build.sh — exits cleanly, no errors
  2. dist/RunnerBar.zip exists
  3. Unzip and double-click RunnerBar.app — gray dot appears in menu bar, no Gatekeeper dialog
  4. Verify universal binary: lipo -archs dist/RunnerBar.app/Contents/MacOS/RunnerBar prints x86_64 arm64

build.sh must

  • Compile with --arch arm64 --arch x86_64
  • Assemble dist/RunnerBar.app/Contents/{MacOS,Resources}
  • Copy binary and Info.plist
  • Ad-hoc sign: codesign --force --deep --sign -
  • Zip with ditto -c -k --keepParent
  • Write dist/version.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions