|
|
|
@ -5,8 +5,10 @@ |
|
|
|
cd build |
|
|
|
APP=./bin/eden.app |
|
|
|
|
|
|
|
macdeployqt "$APP" |
|
|
|
macdeployqt "$APP" -always-overwrite |
|
|
|
cp -r $APP bin/old-eden.app |
|
|
|
|
|
|
|
macdeployqt "$APP" -verbose=2 |
|
|
|
macdeployqt "$APP" -always-overwrite -verbose=2 |
|
|
|
|
|
|
|
# FixMachOLibraryPaths |
|
|
|
find "$APP/Contents/Frameworks" ""$APP/Contents/MacOS"" -type f \( -name "*.dylib" -o -perm +111 \) | while read file; do |
|
|
|
@ -24,11 +26,9 @@ find "$APP/Contents/Frameworks" ""$APP/Contents/MacOS"" -type f \( -name "*.dyli |
|
|
|
fi |
|
|
|
fi |
|
|
|
done |
|
|
|
codesign --deep --force --verify --verbose --sign - "$APP" |
|
|
|
|
|
|
|
ZIP_NAME="eden-macos.zip" |
|
|
|
mkdir -p artifacts |
|
|
|
codesign --deep --force --verbose -s - "$APP" |
|
|
|
|
|
|
|
mv $APP . |
|
|
|
7z a -tzip "$ZIP_NAME" eden.app |
|
|
|
mv "$ZIP_NAME" artifacts/ |
|
|
|
mkdir -p artifacts |
|
|
|
tar czf artifacts/eden.tar.zst "$APP" |
|
|
|
mv artifacts .. |