Skip to content

Commit

Permalink
build-OSX-installer.sh: fix window size
Browse files Browse the repository at this point in the history
  • Loading branch information
devernay committed Sep 16, 2021
1 parent ac542e6 commit 00f58a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/jenkins/build-OSX-installer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -990,8 +990,8 @@ oiiotool -i "${DMG_BACK}" --powc 0.3 -o "/Volumes/${DISK}/.background/${DMG_BACK
ln -sf /Applications "/Volumes/${DISK}/Applications"

# dmg window dimensions
dmg_width=$(oiiotool --info -v "${DMG_BACK}" | grep Exif:PixelXDimension | awk '{print $2}')
dmg_height=$(oiiotool --info -v "${DMG_BACK}" | grep Exif:PixelYDimension | awk '{print $2}')
dmg_width=$(identify -format '%w' "${DMG_BACK}")
dmg_height=$(identify -format '%h' "${DMG_BACK}")
dmg_topleft_x=200
dmg_topleft_y=200
dmg_bottomright_x=$((dmg_topleft_x + dmg_width))
Expand Down

0 comments on commit 00f58a9

Please sign in to comment.