summaryrefslogtreecommitdiff
path: root/sysui
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2020-09-08 13:19:48 +0300
committerTor Lillqvist <tml@collabora.com>2020-09-08 15:25:27 +0200
commit271297d4fa4a8e045b6dc04942966a1058bed45c (patch)
treea8160e0818bc42cf0784b6c224e01c1201848fb8 /sysui
parent055c959091e8edcf8396717908b58d87da4c01a3 (diff)
Follow the rules when building for the App Store
Apple does enforce that CFBundleVersion and CFBundleShortVersionString consist of three integers. So make sure that is the case when building for the App Store. (We infer that when using --enable-macosx-sandbox we are building for the App Store. So far that is true.) Change-Id: I677b28f65aa9be9466811a982023e0932dce0893 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102237 Tested-by: Jenkins Reviewed-by: Tor Lillqvist <tml@collabora.com>
Diffstat (limited to 'sysui')
-rw-r--r--sysui/desktop/macosx/Info.plist.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysui/desktop/macosx/Info.plist.in b/sysui/desktop/macosx/Info.plist.in
index d3051905058d..a87895078135 100644
--- a/sysui/desktop/macosx/Info.plist.in
+++ b/sysui/desktop/macosx/Info.plist.in
@@ -1921,9 +1921,9 @@
<key>CFBundleIconFile</key>
<string>main.icns</string>
<key>CFBundleShortVersionString</key>
- <string>@LIBO_VERSION_MAJOR@.@LIBO_VERSION_MINOR@.@LIBO_VERSION_MICRO@.@LIBO_VERSION_PATCH@</string>
+ <string>@MACOSX_BUNDLE_SHORTVERSION@</string>
<key>CFBundleVersion</key>
- <string>@LIBO_VERSION_MAJOR@.@LIBO_VERSION_MINOR@.@LIBO_VERSION_MICRO@.@LIBO_VERSION_PATCH@@LIBO_VERSION_SUFFIX@</string>
+ <string>@MACOSX_BUNDLE_VERSION@</string>
<key>CFBundleIdentifier</key>
<string>@MACOSX_BUNDLE_IDENTIFIER@</string>
<key>CFBundleInfoDictionaryVersion</key>