1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-04-29 15:19:44 +02:00
audacity/scripts/build/macOS/DMGSetup.scpt
Sol Fisher Romanoff 9463eba2ea
Update macOS DMG background image
Signed-off-by: Sol Fisher Romanoff <sol@solfisher.com>
2021-08-31 13:55:58 +03:00

23 lines
973 B
AppleScript

on run argv
set diskImage to item 1 of argv
tell application "Finder"
tell disk diskImage
open
set current view of container window to icon view
set toolbar visible of container window to false
set statusbar visible of container window to false
set the bounds of container window to {400, 100, 1000, 558}
set theViewOptions to the icon view options of container window
set arrangement of theViewOptions to not arranged
set icon size of theViewOptions to 72
set background picture of theViewOptions to file ".background:background.tiff"
set position of item "Tenacity" of container window to {170, 350}
set position of item "Applications" of container window to {430, 350}
close
open
update without registering applications
end tell
end tell
end run