byre client shows its version in about as 0 (0)

This commit is contained in:
Ian Gulliver
2026-10-18 11:19:48 -07:00
parent e468b4f154
commit aac7cfe858
4 changed files with 4 additions and 6 deletions
-4
View File
@@ -12,10 +12,6 @@
<string>APPL</string>
<key>CFBundleIconFile</key>
<string>byre</string>
<key>CFBundleShortVersionString</key>
<string>0</string>
<key>CFBundleVersion</key>
<string>0</string>
<key>LSMinimumSystemVersion</key>
<string>27.0</string>
<key>NSHighResolutionCapable</key>
+2
View File
@@ -32,6 +32,8 @@ cp "$build/byre-hands" "$app/Contents/MacOS/byre-hands"
codesign --force --sign "Apple Development" --identifier run.fc.byre.hands "$app/Contents/MacOS/byre-hands"
cp "$mac/Info.plist" "$app/Contents/Info.plist"
plutil -insert ByreCommit -string "$(git -C "$root" rev-parse HEAD)" "$app/Contents/Info.plist"
plutil -insert CFBundleShortVersionString -string "$(git -C "$root" rev-parse --short HEAD)" "$app/Contents/Info.plist"
plutil -insert CFBundleVersion -string "$(git -C "$root" rev-list --count HEAD)" "$app/Contents/Info.plist"
cp "$mac"/fonts/*.woff2 "$app/Contents/Resources/fonts/"
cp "$icns" "$app/Contents/Resources/byre.icns"
cp "$mac/byre.provisionprofile" "$app/Contents/embedded.provisionprofile"