mirror of
https://github.com/YACReader/yacreader
synced 2025-07-14 11:04:25 -04:00
Merge pull request #264 from vitorgalvao/patch-1
compileOSX.sh: add version to app
This commit is contained in:
@ -8,8 +8,6 @@
|
||||
<string>YACReader.icns</string>
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>APPL</string>
|
||||
<key>CFBundleGetInfoString</key>
|
||||
<string>YACReader</string>
|
||||
<key>CFBundleSignature</key>
|
||||
<string>????</string>
|
||||
<key>CFBundleExecutable</key>
|
||||
|
@ -8,8 +8,6 @@
|
||||
<string>YACReaderLibrary.icns</string>
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>APPL</string>
|
||||
<key>CFBundleGetInfoString</key>
|
||||
<string>YACReaderLibrary</string>
|
||||
<key>CFBundleSignature</key>
|
||||
<string>????</string>
|
||||
<key>CFBundleExecutable</key>
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user