From 0524ce050950457faa034068196f788bc5de9e7f Mon Sep 17 00:00:00 2001 From: Christophe Demarey Date: Tue, 28 Jan 2025 10:23:32 +0100 Subject: [PATCH] fix background image path --- mac/build-dmg-from-tar.sh | 2 +- mac/build-dmg.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mac/build-dmg-from-tar.sh b/mac/build-dmg-from-tar.sh index 8064da59..e79130cf 100755 --- a/mac/build-dmg-from-tar.sh +++ b/mac/build-dmg-from-tar.sh @@ -66,7 +66,7 @@ tar -xf "$TAR_FILE" -C "$TMP_DIR" pushd "$TMP_DIR" move_pharo_launcher_app_to_the_current_directory chmod +x PharoLauncher.app/Contents/MacOS/Pharo PharoLauncher.app/Contents/Resources/pharo-launcher || true -ARCHITECTURE=$ARCH VERSION=$VERSION APP_NAME=PharoLauncher "$SCRIPT_DIR"/build-dmg.sh +ARCHITECTURE=$ARCH VERSION=$VERSION APP_NAME=PharoLauncher DMG_BACKGROUND_IMG="$SCRIPT_DIR"/mac-installer-background.png "$SCRIPT_DIR"/build-dmg.sh generated_dmg=$(echo *.dmg) popd mv "$TMP_DIR"/"$generated_dmg" "PharoLauncher-${VERSION}-${ARCH}.dmg" diff --git a/mac/build-dmg.sh b/mac/build-dmg.sh index 1b4abbcc..dc5cd41d 100755 --- a/mac/build-dmg.sh +++ b/mac/build-dmg.sh @@ -15,7 +15,7 @@ set -ex # At some point, I could replace this script with https://github.com/LinusU/node-appdmg readonly APP_NAME=${APP_NAME:-"Pharo"} readonly VERSION=${VERSION:-"3.0.0"} -DMG_BACKGROUND_IMG=${DMG_BACKGROUND_IMG:-"mac-installer-background.png"} +DMG_BACKGROUND_IMG=${DMG_BACKGROUND_IMG:-"background.png"} # Indicate the vertical pixel where the icons (Pharo and Applications) # will be positioned