Add /Application symlink to macOS DMG

This commit is contained in:
Mark Vainomaa 2019-12-07 01:06:38 +02:00 committed by Christian Duerr
parent 6301775d3f
commit 586ff78df2
2 changed files with 2 additions and 0 deletions

View File

@ -13,6 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added
- Terminal escape bindings with combined modifiers for Delete and Insert
- /Applications symlink into OS X DMG for easier installation
### Fixed

View File

@ -35,6 +35,7 @@ $(APP_NAME): $(TARGET) $(APP_TEMPLATE)
dmg: | $(DMG_NAME) ## Pack Alacritty.app into .dmg
$(DMG_NAME): $(APP_NAME)
@echo "Packing disk image..."
@ln -s /Applications $(DMG_DIR)/Applications
@hdiutil create $(DMG_DIR)/$(DMG_NAME) \
-volname "Alacritty" \
-fs HFS+ \