Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions postsack-native/build_mac.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ mv ./postsack ../target/release/bundle/osx/Postsack.app/Contents/MacOS/Postsack

/usr/libexec/PlistBuddy -c "Set :CFBundleExecutable Postsack" "../target/release/bundle/osx/Postsack.app/Contents/Info.plist"

# Tell the Info.plist that we are allowed to use the integrated GPU instead of the dedicated
/usr/libexec/PlistBuddy -c "Add :NSSupportsAutomaticGraphicsSwitching bool true" "../target/release/bundle/osx/Postsack.app/Contents/Info.plist"

# Create a zip file
cd ../target/release/bundle/osx/
/usr/bin/zip -5 -r ../../../postsack.zip ./Postsack.app
Expand Down