mirror of
https://github.com/YACReader/yacreader
synced 2025-05-28 03:10:27 -04:00
Update compilation scripts in macos.
They copy again the 7z dependencies into the utils folder.
This commit is contained in:
parent
a9f1c93abe
commit
2c69c1fbcb
@ -1,6 +1,6 @@
|
||||
#! /bin/bash
|
||||
|
||||
VERSION=${1:-"8.6.0"}
|
||||
VERSION=${1:-"9.5.0"}
|
||||
|
||||
if [ "$2" == "clean" ]; then
|
||||
./cleanOSX.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/
|
||||
|
Loading…
Reference in New Issue
Block a user