mirror of
https://github.com/YACReader/yacreader
synced 2025-07-17 20:44:32 -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>
|
<string>YACReader.icns</string>
|
||||||
<key>CFBundlePackageType</key>
|
<key>CFBundlePackageType</key>
|
||||||
<string>APPL</string>
|
<string>APPL</string>
|
||||||
<key>CFBundleGetInfoString</key>
|
|
||||||
<string>YACReader</string>
|
|
||||||
<key>CFBundleSignature</key>
|
<key>CFBundleSignature</key>
|
||||||
<string>????</string>
|
<string>????</string>
|
||||||
<key>CFBundleExecutable</key>
|
<key>CFBundleExecutable</key>
|
||||||
|
@ -8,8 +8,6 @@
|
|||||||
<string>YACReaderLibrary.icns</string>
|
<string>YACReaderLibrary.icns</string>
|
||||||
<key>CFBundlePackageType</key>
|
<key>CFBundlePackageType</key>
|
||||||
<string>APPL</string>
|
<string>APPL</string>
|
||||||
<key>CFBundleGetInfoString</key>
|
|
||||||
<string>YACReaderLibrary</string>
|
|
||||||
<key>CFBundleSignature</key>
|
<key>CFBundleSignature</key>
|
||||||
<string>????</string>
|
<string>????</string>
|
||||||
<key>CFBundleExecutable</key>
|
<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 YACReaderLibrary.app/Contents/MacOS/
|
||||||
cp -R release/languages YACReaderLibraryServer.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
|
if [ "$SKIP_CODESIGN" = false ]; then
|
||||||
./signapps.sh
|
./signapps.sh
|
||||||
fi
|
fi
|
||||||
|
Reference in New Issue
Block a user