src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/resources/DMGsetup.scpt
branchJDK-8200758-branch
changeset 58583 b54f1adbf153
parent 58306 42c7f9800e30
equal deleted inserted replaced
58582:558a0842c5aa 58583:b54f1adbf153
    19     set allTheFiles to the name of every item of container window
    19     set allTheFiles to the name of every item of container window
    20     repeat with theFile in allTheFiles
    20     repeat with theFile in allTheFiles
    21       set theFilePath to POSIX Path of theFile
    21       set theFilePath to POSIX Path of theFile
    22       if theFilePath is "/DEPLOY_APPLICATION_NAME.app"
    22       if theFilePath is "/DEPLOY_APPLICATION_NAME.app"
    23         -- Position application location
    23         -- Position application location
    24         set position of item theFile of container window to {120, 60}
    24         set position of item theFile of container window to {120, 130}
    25       else if theFilePath is "/DEPLOY_INSTALL_NAME"
    25       else if theFilePath is "/DEPLOY_INSTALL_NAME"
    26         -- Position install location
    26         -- Position install location
    27         set position of item theFile of container window to {390, 60}
    27         set position of item theFile of container window to {390, 130}
    28       else
    28       else
    29         -- Move all other files far enough to be not visible if user has "show hidden files" option set
    29         -- Move all other files far enough to be not visible if user has "show hidden files" option set
    30         set position of item theFile of container window to {1000, 0}
    30         set position of item theFile of container window to {1000, 130}
    31       end
    31       end
    32     end repeat
    32     end repeat
    33 
    33 
    34     update without registering applications
    34     update without registering applications
    35     delay 5
    35     delay 5