Force application symlink on macOS make build

This commit is contained in:
Josh Comer 2020-01-18 08:48:34 -04:00 committed by Kirill Chibisov
parent bd96e7f769
commit 2199bbef51
2 changed files with 2 additions and 1 deletions

View File

@ -25,6 +25,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Regression which added a UNC path prefix to the working directory on Windows
- CLI parameters discarded when config is reload
- Blurred icons in KDE task switcher (alacritty.ico is now high-res)
- Consecutive builds failing on macOS due to preexisting `/Application` symlink
## 0.4.1

View File

@ -35,7 +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
@ln -sf /Applications $(DMG_DIR)/Applications
@hdiutil create $(DMG_DIR)/$(DMG_NAME) \
-volname "Alacritty" \
-fs HFS+ \