Add user visible CFBundleShortVersionString to Info.plist (#2057)

This commit is contained in:
Patrick Smith 2023-07-11 22:45:10 +10:00 committed by GitHub
parent 0f792d51bd
commit bbc5ced0d5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 0 deletions

View file

@ -18,6 +18,7 @@ if [ -f Info.plist ]; then
cp Info.plist $app_dir/Contents/Info.plist
plutil -replace CFBundleVersion -string "${app_version}" $app_dir/Contents/Info.plist
plutil -replace CFBundleShortVersionString -string "${app_version}" $app_dir/Contents/Info.plist
fi
cp $target_dir/$app_name $app_dir/Contents/MacOS/$app_name

View file

@ -8,6 +8,8 @@
<string>dev.livebook.Livebook</string>
<key>CFBundleVersion</key>
<string>$(app_version)</string>
<key>CFBundleShortVersionString</key>
<string>$(app_version)</string>
<key>CFBundleIconFile</key>
<string>AppIcon</string>
<key>CFBundleExecutable</key>