Update compilation scripts in macos.

They copy again the 7z dependencies into the utils folder.
This commit is contained in:
Luis Ángel San Martín 2018-09-18 18:54:28 +02:00
parent a9f1c93abe
commit 2c69c1fbcb
2 changed files with 6 additions and 2 deletions

View File

@ -1,6 +1,6 @@
#! /bin/bash
VERSION=${1:-"8.6.0"}
VERSION=${1:-"9.5.0"}
if [ "$2" == "clean" ]; then
./cleanOSX.sh

View File

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