diff options
author | Eivind Samseth <eisa01@gmail.com> | 2020-05-21 11:03:10 +0200 |
---|---|---|
committer | Michael Stahl <michael.stahl@cib.de> | 2020-05-27 09:49:24 +0200 |
commit | 3a028418190790c3bbaf6e505ff55b7bb8c0b474 (patch) | |
tree | 9ed19c15490c66426829d414bb76ca2bc2898897 /sysui | |
parent | bd39ec554f90badccfb26c843fd0d43237f1b622 (diff) |
tdf#74244 Fix version info shown for major release candidates
Previous approach of setting the bundle version made e.g.,
6.4.0.3 show up as version 6.4.3 which was clearly wrong
CFBundleShortVersionString is supposed to be only three integers,
but this does not seem to be enforced by Apple.
Other applications, such as Spotiy, include even more than LO
Removed CFBundleGetInfoString as it's been deprecated since 10.5
Change-Id: I7c64553f6bc2712506062d8f8ec388f5279b333d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94623
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@cib.de>
Diffstat (limited to 'sysui')
-rw-r--r-- | sysui/desktop/macosx/Info.plist.in | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sysui/desktop/macosx/Info.plist.in b/sysui/desktop/macosx/Info.plist.in index fa3dbed3c79c..bac0f9711a00 100644 --- a/sysui/desktop/macosx/Info.plist.in +++ b/sysui/desktop/macosx/Info.plist.in @@ -1836,14 +1836,12 @@ </array> <key>CFBundleExecutable</key> <string>soffice</string> - <key>CFBundleGetInfoString</key> - <string>@PRODUCTNAME@ @LIBO_VERSION_MAJOR@.@LIBO_VERSION_MINOR@.@LIBO_VERSION_MICRO@.@LIBO_VERSION_PATCH@@LIBO_VERSION_SUFFIX@</string> <key>CFBundleIconFile</key> <string>main.icns</string> <key>CFBundleShortVersionString</key> - <string>@MACOSX_BUNDLE_SHORTVERSION@</string> + <string>@LIBO_VERSION_MAJOR@.@LIBO_VERSION_MINOR@.@LIBO_VERSION_MICRO@.@LIBO_VERSION_PATCH@</string> <key>CFBundleVersion</key> - <string>@MACOSX_BUNDLE_SHORTVERSION@</string> + <string>@LIBO_VERSION_MAJOR@.@LIBO_VERSION_MINOR@.@LIBO_VERSION_MICRO@.@LIBO_VERSION_PATCH@@LIBO_VERSION_SUFFIX@</string> <key>CFBundleIdentifier</key> <string>@MACOSX_BUNDLE_IDENTIFIER@</string> <key>CFBundleInfoDictionaryVersion</key> |