Skip to content

Commit 2e9b32f

Browse files
committed
Update customize-dmg.applescript.vtl
1 parent 30068c0 commit 2e9b32f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/main/resources/mac/customize-dmg.applescript.vtl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on run (volumeName)
1111

1212
set theBottomRightX to (theXOrigin + theWidth)
1313
set theBottomRightY to (theYOrigin + theHeight)
14-
set dsStore to "\"" & "/Volumes/" & volumeName & "/" & ".DS_STORE\""
14+
set dsStore to "\"/Volumes/" & volumeName & "/.DS_STORE\""
1515

1616
tell container window
1717
set current view to icon view
@@ -30,10 +30,10 @@ on run (volumeName)
3030
set background picture of opts to file ".background:background.png"
3131

3232
-- Positioning
33-
set position of item "${info.name}.app" to {${info.macConfig.iconX}, ${info.macConfig.iconY}}
33+
set position of item "${info.appFile.name}" to {${info.macConfig.iconX}, ${info.macConfig.iconY}}
3434

3535
-- Hiding
36-
set the extension hidden of item "${info.name}.app" to true
36+
set the extension hidden of item "${info.appFile.name}" to true
3737

3838
-- Application
3939
set position of item "Applications" to {${info.macConfig.appsLinkIconX}, ${info.macConfig.appsLinkIconY}}

0 commit comments

Comments
 (0)