Skip to content

Commit

Permalink
Merge pull request #2235 from Zifius/feature/application-folder-shortcut
Browse files Browse the repository at this point in the history
Added Application folder shortcut, resolves #1842
  • Loading branch information
abhibeckert committed Mar 4, 2016
2 parents 49cc4d1 + 13143f4 commit a0bb2c4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Scripts/package-application.sh
Expand Up @@ -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

Expand Down

0 comments on commit a0bb2c4

Please sign in to comment.