diff --git a/build/macos/dmg/3_dist-gimp-apple.sh b/build/macos/dmg/3_dist-gimp-apple.sh index d05f489b9a..8b692ab9b0 100644 --- a/build/macos/dmg/3_dist-gimp-apple.sh +++ b/build/macos/dmg/3_dist-gimp-apple.sh @@ -26,7 +26,7 @@ fi # 1. GET MACOS TOOLS VERSION printf "\e[0Ksection_start:`date +%s`:mac_tlkt\r\e[0KChecking macOS tools\n" -printf "(INFO): macOS version: $(sw_vers -productVersion)\n" +printf "(INFO): macOS version: $(sw_vers -productVersion) | Python version: $(python3 --version 2>&1 | sed 's/[^0-9.]//g')\n" printf "\e[0Ksection_end:`date +%s`:mac_tlkt\r\e[0K\n" @@ -134,40 +134,105 @@ conf_plist "%MUTEX_SUFFIX%" "$MUTEX_SUFFIX" sed -i '' "s|%FILE_TYPES%|$(tr -d '\n' < $BUILD_DIR/plug-ins/file_associations_mac.list)|g" "$DMG_MOUNT/$BUNDLE_NAME.app/Contents/Info.plist" ## 4.2 Create or copy .DS_Store to set .dmg background and icon layout -printf '(INFO): handling .DS_Store\n' -mkdir -p "$DMG_MOUNT/.background" -cp -r "$BG_PATH" "$DMG_MOUNT/.background/" +printf '(INFO): generating .DS_Store\n' +cp -r "$BG_PATH" "$DMG_MOUNT/.background.png" ln -s /Applications "$DMG_MOUNT/Applications" -sync -sleep 2 #avoid Finder async issues -if [ -z "$GITLAB_CI" ]; then - osascript <