1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-04-29 15:19:44 +02:00

Update macOS DMG background image

Signed-off-by: Sol Fisher Romanoff <sol@solfisher.com>
This commit is contained in:
Sol Fisher Romanoff 2021-08-23 17:54:21 +03:00
parent e0132ca9c0
commit 9463eba2ea
No known key found for this signature in database
GPG Key ID: 0E0ACA5D1C244E1F
5 changed files with 8 additions and 8 deletions

View File

@ -41,7 +41,7 @@ if(CMAKE_SYSTEM_NAME MATCHES "Linux")
elseif( CMAKE_SYSTEM_NAME STREQUAL "Darwin" )
set( CPACK_GENERATOR DragNDrop )
set( CPACK_DMG_BACKGROUND_IMAGE "${CMAKE_SOURCE_DIR}/mac/Resources/Audacity-DMG-background.png")
set( CPACK_DMG_BACKGROUND_IMAGE "${CMAKE_SOURCE_DIR}/mac/Resources/Tenacity-DMG-background.tiff")
set( CPACK_DMG_DS_STORE_SETUP_SCRIPT "${CMAKE_SOURCE_DIR}/scripts/build/macOS/DMGSetup.scpt")
if( ${_OPT}perform_codesign )

Binary file not shown.

Before

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

View File

@ -178,7 +178,7 @@ then
${DSTROOT}/Tenacity.app
# Create the ZIP archive for notarization
xcrun ditto -c -k --keepParent "${DSTROOT}/Tenacity.app" "${DSTROOT}.zip"
xcrun ditto -c -k --keepParent "${DSTROOT}/Tenacity.app" "${DSTROOT}.zip"
# Send it off for notarization
notarize "${DSTROOT}.zip"
@ -196,7 +196,7 @@ cp -pR "${DSTROOT}/" "${DMG}"
# Copy over the background image
mkdir "${DMG}/.background"
cp "${SRCROOT}/Resources/Audacity-DMG-background.png" "${DMG}/.background"
cp "${SRCROOT}/Resources/Tenacity-DMG-background.tiff" "${DMG}/.background"
#Add a custom icon for the DMG
#cp -p mac/Resources/Audacity.icns "${DMG}"/.VolumeIcon.icns
@ -243,13 +243,13 @@ echo '
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, 550}
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:Audacity-DMG-background.png"
set background picture of theViewOptions to file ".background:Tenacity-DMG-background.tiff"
make new alias file at container window to POSIX file "/Applications" with properties {name:"Applications"}
set position of item "Audacity" of container window to {170, 350}
set position of item "Tenacity" of container window to {170, 350}
set position of item "Applications" of container window to {430, 350}
close
open

View File

@ -7,11 +7,11 @@ on run argv
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, 550}
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.png"
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