From 986f5ef571d40cc76e28f653c83ee2a2e8b5bb0e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADtor=20Galv=C3=A3o?= Date: Fri, 25 Jun 2021 15:19:44 +0100 Subject: [PATCH 1/2] compileOSX.sh: add version to app --- compileOSX.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/compileOSX.sh b/compileOSX.sh index e28f47eb..f9cc029e 100755 --- a/compileOSX.sh +++ b/compileOSX.sh @@ -62,6 +62,11 @@ cp -R release/languages YACReader.app/Contents/MacOS/ cp -R release/languages YACReaderLibrary.app/Contents/MacOS/ cp -R release/languages YACReaderLibraryServer.app/Contents/MacOS/ +/usr/libexec/PlistBuddy -c "Add :CFBundleVersion string ${BUILD_NUMBER}" YACReader.app/Contents/Info.plist +/usr/libexec/PlistBuddy -c "Add :CFBundleShortVersionString string ${VERSION}" YACReader.app/Contents/Info.plist +/usr/libexec/PlistBuddy -c "Add :CFBundleVersion string ${BUILD_NUMBER}" YACReaderLibrary.app/Contents/Info.plist +/usr/libexec/PlistBuddy -c "Add :CFBundleShortVersionString string ${VERSION}" YACReaderLibrary.app/Contents/Info.plist + if [ "$SKIP_CODESIGN" = false ]; then ./signapps.sh fi From 82a94113e1eefbd3ea28d9b74381181ad6d2c892 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADtor=20Galv=C3=A3o?= Date: Sat, 26 Jun 2021 00:39:05 +0100 Subject: [PATCH 2/2] macOS Info.plis: remove deprecated CFBundleGetInfoString --- YACReader/Info.plist | 2 -- YACReaderLibrary/Info.plist | 2 -- 2 files changed, 4 deletions(-) diff --git a/YACReader/Info.plist b/YACReader/Info.plist index 90464350..e8affbce 100644 --- a/YACReader/Info.plist +++ b/YACReader/Info.plist @@ -8,8 +8,6 @@ YACReader.icns CFBundlePackageType APPL - CFBundleGetInfoString - YACReader CFBundleSignature ???? CFBundleExecutable diff --git a/YACReaderLibrary/Info.plist b/YACReaderLibrary/Info.plist index e688e8a1..3c9f79f7 100644 --- a/YACReaderLibrary/Info.plist +++ b/YACReaderLibrary/Info.plist @@ -8,8 +8,6 @@ YACReaderLibrary.icns CFBundlePackageType APPL - CFBundleGetInfoString - YACReaderLibrary CFBundleSignature ???? CFBundleExecutable