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 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