Repository navigation
Conversation
aRustyDev
force-pushed
the
stack/4/macos-app-pkg
branch
from
October 30, 2026 03:33
54a4d98 to
ac49c94
Compare
aRustyDev
force-pushed
the
stack/4/macos-app-pkg
branch
from
October 30, 2026 03:47
ac49c94 to
d0e5825
Compare
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.
TL;DR
Build a relocatable
Lowfi.appthat users can open from Finder or Spotlight. Launching it opens Lowfi's existing interface in Terminal.app.Important
#blocked-by #139 (which is blocked by #138)
Please wait for #138 and #139 to merge before reviewing this PR. The Files changed tab includes their configuration and testing work because this PR targets
main. After they merge, I’ll rebase this branch so the diff contains only terminal application packaging.Packaging is independent of #140 and #142. Incremental packaging diff for reference.
Changes
packaging/macos/build-app.shto build both executables, assemble the plist and icon assets, and verify the bundle before placing it undertarget/<native-target>/release/bundle/Lowfi.app.macos-applauncher binary. Resolve the bundle from the launcher's own location, then open itsLowfi.commandin Terminal.app; the script starts the bundledlowfi.default-run = "lowfi"so adding a second binary preserves plaincargo run.Why this approach
A command-line binary is awkward to discover and launch through Finder or Spotlight. A thin application bundle provides that entry point while preserving Lowfi's terminal controls and configuration.
Wrapping the existing executable avoids maintaining a second UI or making packaging depend on the menu bar feature. Paths relative to the bundle allow relocation and avoid relying on a separate installation or shell
PATH. Building the bundle locally keeps installation and signing explicit; the script does neither automatically.Validation
Built and verified the standalone bundle on macOS: plist/version fields, executable permissions, icon conversion, help/version execution, relocation with spaces/Unicode/apostrophes, and failure when the player executable is missing. Cargo/Nextest suites and feature checks passed; the launcher also compiles on Linux. Opening a live Terminal session was exercised, opening while an existing player is running creates two players.
For this documentation update, private-item rustdoc passed with broken links denied, and shell syntax checks passed. The bundle and live GUI checks above were not repeated.