From 28d2a4ec2c40c37188764414942c026ec617150b Mon Sep 17 00:00:00 2001 From: Sergei Rodionov <2098022+rodionos@users.noreply.github.com> Date: Thu, 22 Feb 2024 13:57:58 +0300 Subject: [PATCH] MacOS build: increase image size to 256Mb In my case, using Qt 6.6.2, the size of the AmneziaVPN.dmg file is 226Mb so a higher image size is needed for the hdiutil command. --- deploy/build_macos.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/deploy/build_macos.sh b/deploy/build_macos.sh index 0d64a9ec..ffdbd20b 100755 --- a/deploy/build_macos.sh +++ b/deploy/build_macos.sh @@ -146,7 +146,8 @@ if [ "${MAC_CERT_PW+x}" ]; then fi echo "Building DMG installer..." -hdiutil create -size 120mb -volname AmneziaVPN -srcfolder $BUILD_DIR/installer/$APP_NAME.app -ov -format UDZO $DMG_FILENAME +# Allow Terminal to make changes in Privacy & Security > App Management +hdiutil create -size 256mb -volname AmneziaVPN -srcfolder $BUILD_DIR/installer/$APP_NAME.app -ov -format UDZO $DMG_FILENAME if [ "${MAC_CERT_PW+x}" ]; then echo "Signing DMG installer..."