From 2c69c1fbcbf893ec97abe75e691e84f231406ee5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luis=20=C3=81ngel=20San=20Mart=C3=ADn?= Date: Tue, 18 Sep 2018 18:54:28 +0200 Subject: [PATCH] Update compilation scripts in macos. They copy again the 7z dependencies into the utils folder. --- compileOSX.sh | 2 +- releaseOSX.sh | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) 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/