Skip to content

Commit

Permalink
fix background image path
Browse files Browse the repository at this point in the history
  • Loading branch information
demarey committed Jan 28, 2025
1 parent 79b6e64 commit 0524ce0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mac/build-dmg-from-tar.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion mac/build-dmg.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0524ce0

Please sign in to comment.