diff --git a/compileOSX.sh b/compileOSX.sh index 2c68cde3..e24abb22 100755 --- a/compileOSX.sh +++ b/compileOSX.sh @@ -1,6 +1,6 @@ #! /bin/bash -VERSION=${1:-"8.6.0"} +VERSION=${1:-"9.5.0"} if [ "$2" == "clean" ]; then ./cleanOSX.sh diff --git a/releaseOSX.sh b/releaseOSX.sh index b79ef250..22251ee0 100755 --- a/releaseOSX.sh +++ b/releaseOSX.sh @@ -8,12 +8,16 @@ macdeployqt YACReader.app macdeployqt YACReaderLibrary.app -qmldir=YACReaderLibrary/qml macdeployqt YACReaderLibraryServer.app +mkdir -p YACReader.app/Contents/MacOS/utils mkdir -p YACReaderLibrary.app/Contents/MacOS/utils +mkdir -p YACReaderLibraryServer.app/Contents/MacOS/utils cp dependencies/qrencode/macx/libqrencode.4.0.0.dylib \ YACReaderLibrary.app/Contents/MacOS/utils/libqrencode.dylib -chmod +w YACReaderLibrary.app/Contents/MacOS/utils/* +cp -R dependencies/7zip/macx/* YACReader.app/Contents/MacOS/utils/ +cp -R dependencies/7zip/macx/* YACReaderLibrary.app/Contents/MacOS/utils/ +cp -R dependencies/7zip/macx/* YACReaderLibraryServer.app/Contents/MacOS/utils/ cp -R release/server YACReaderLibrary.app/Contents/MacOS/ cp -R release/server YACReaderLibraryServer.app/Contents/MacOS/