Add macOS .app bundle and resource handling and packaging instructions #5
Open
durul wants to merge 2 commits intoTomBadash:masterfrom
Open
Add macOS .app bundle and resource handling and packaging instructions #5durul wants to merge 2 commits intoTomBadash:masterfrom
durul wants to merge 2 commits intoTomBadash:masterfrom
Conversation
Mouser.spec: commented out the binaries/datas filters and added a macOS BUNDLE block to build a .app (sets icon, bundle_identifier and Info.plist entries such as CFBundleShortVersionString, LSUIElement and NSHighResolutionCapable). main_qml.py: when frozen on darwin, set ROOT to Contents/Resources inside the .app bundle; keep the existing _internal path for other PyInstaller builds. These changes enable correct resource lookup and packaging for macOS app bundles and support menu-bar/background behavior and high-DPI.
Add a "Packaging as a macOS App" section to readme_mac_osx.md. Documents building a self-contained .app with PyInstaller (pyinstaller Mouser.spec), where the output appears (dist/Mouser.app), explains the app is packaged as an LSUIElement (runs silently in background / menu bar only), and warns to grant Accessibility permissions if the built app has permission issues or silent-crashes.
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.
No description provided.