diff options
author | Alexander Turiak <alex@hexbrain.com> | 2015-09-22 18:07:40 +0200 |
---|---|---|
committer | Alexander Turiak <alex@hexbrain.com> | 2015-09-22 18:07:40 +0200 |
commit | 13143f403a2553e1094668e614f96a9d50ce9c40 (patch) | |
tree | 0bbdf73fb7c85afe931279c8b9b8e5baabd4df08 /Scripts | |
parent | 1830a824116f569c6e5ab75116b30cbab4309885 (diff) | |
download | sequelpro-13143f403a2553e1094668e614f96a9d50ce9c40.tar.gz sequelpro-13143f403a2553e1094668e614f96a9d50ce9c40.tar.bz2 sequelpro-13143f403a2553e1094668e614f96a9d50ce9c40.zip |
Added Application folder shortcut, resolves #1842
Diffstat (limited to 'Scripts')
-rwxr-xr-x | Scripts/package-application.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Scripts/package-application.sh b/Scripts/package-application.sh index 002d51ce..86b8082d 100755 --- a/Scripts/package-application.sh +++ b/Scripts/package-application.sh @@ -67,6 +67,12 @@ mkdir "${DISTTEMP}" # Copy in the required distribution files cp -R "${BUILT_PRODUCTS_DIR}/${TARGET_NAME}${WRAPPER_SUFFIX}" "${DMG_BUILD_PATH}/disttemp" +# Add a link to the Applications dir +echo "Add link to /Applications" +pushd "${DMG_BUILD_PATH}/disttemp" +ln -s /Applications +popd + # Create a disk image hdiutil create -srcfolder "${DISTTEMP}" -volname "$DMG_VOLUME_NAME" -fs HFS+ -fsargs '-c c=64,a=16,e=16' -format UDRW "${DMG_BUILD_PATH}/${DMG_NAME}.temp.dmg" > /dev/null |