Repository navigation
feat(macos): add a double-clickable app bundle and app icon - #8
Merged
Merged
Conversation
Build Meet2Notes.app from the existing source install with scripts/create_macos_app.sh: an .icns generated with sips/iconutil, an Info.plist and a launcher that resolves the checkout and runs .venv/bin/meet2notes. Finder launches get a usable PATH and a log file, and the bundle is unsigned and quarantine-free by construction. The bundle is a build artifact and stays gitignored. Windows already has start.bat; macOS previously had no launcher at all.
The launcher was generated with sed, which broke on checkout paths containing "&", "|" or a backslash, and the path then sat inside double quotes where "$", backticks and quotes were interpreted. Write it with printf %q instead. Take the bundle version from the installed package, document the script in the README, and build and launch the bundle from a path with shell characters in the macOS installer workflow.
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.
Follow-up to #6, which landed the macOS installation fix on its own. This is the app bundle commit by @fabio-krauss from that pull request, rebased onto
main, plus one commit with the changes requested in review.What it adds
scripts/create_macos_app.shbuildsMeet2Notes.appfrom an existing source install, using only tools that ship with macOS (sips,iconutil). The bundle is a thin launcher that runs.venv/bin/meet2notesfrom the checkout;--installalso copies it to/Applications. The bundle itself is a build artifact and stays gitignored.Changes since #6
printf %qinstead ofsed. Paths containing&,|, a backslash,$, backticks or quotes stay literal.meet2notespackage instead of a fixed1.0.installerworkflow builds the bundle on macOS through a path containing shell characters, lints theInfo.plist, and launches the bundle with--help.Open point
The icon in
assets/macos/Meet2Notes-1024.pngis the placeholder drawn for #6, not a branding decision. Replacing that file is enough; the script regenerates every size from it.