mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-09-11 15:34:37 +08:00
Add user visible CFBundleShortVersionString
to Info.plist (#2057)
This commit is contained in:
parent
0f792d51bd
commit
bbc5ced0d5
2 changed files with 3 additions and 0 deletions
|
@ -18,6 +18,7 @@ if [ -f Info.plist ]; then
|
||||||
cp Info.plist $app_dir/Contents/Info.plist
|
cp Info.plist $app_dir/Contents/Info.plist
|
||||||
|
|
||||||
plutil -replace CFBundleVersion -string "${app_version}" $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
|
fi
|
||||||
|
|
||||||
cp $target_dir/$app_name $app_dir/Contents/MacOS/$app_name
|
cp $target_dir/$app_name $app_dir/Contents/MacOS/$app_name
|
||||||
|
|
|
@ -8,6 +8,8 @@
|
||||||
<string>dev.livebook.Livebook</string>
|
<string>dev.livebook.Livebook</string>
|
||||||
<key>CFBundleVersion</key>
|
<key>CFBundleVersion</key>
|
||||||
<string>$(app_version)</string>
|
<string>$(app_version)</string>
|
||||||
|
<key>CFBundleShortVersionString</key>
|
||||||
|
<string>$(app_version)</string>
|
||||||
<key>CFBundleIconFile</key>
|
<key>CFBundleIconFile</key>
|
||||||
<string>AppIcon</string>
|
<string>AppIcon</string>
|
||||||
<key>CFBundleExecutable</key>
|
<key>CFBundleExecutable</key>
|
||||||
|
|
Loading…
Add table
Reference in a new issue