Update Makefile

This commit is contained in:
Dongdong Zhou 2021-10-11 12:15:28 +01:00
parent 3a079c0895
commit 2e880d23b8
1 changed files with 4 additions and 4 deletions

View File

@ -33,8 +33,8 @@ $(TARGET)-universal:
MACOSX_DEPLOYMENT_TARGET="10.11" cargo build --release --target=aarch64-apple-darwin
@lipo target/{x86_64,aarch64}-apple-darwin/release/$(TARGET) -create -output $(APP_BINARY)
@lipo target/{x86_64,aarch64}-apple-darwin/release/$(TARGET)-proxy -create -output $(APP_BINARY)-proxy
/usr/bin/codesign --force -s FAC8FBEA99169DC1980731029648F110628D6A32 $(APP_BINARY) -v
/usr/bin/codesign --force -s FAC8FBEA99169DC1980731029648F110628D6A32 $(APP_BINARY)-proxy -v
/usr/bin/codesign --options=runtime --force -s FAC8FBEA99169DC1980731029648F110628D6A32 $(APP_BINARY) -v
/usr/bin/codesign --options=runtime --force -s FAC8FBEA99169DC1980731029648F110628D6A32 $(APP_BINARY)-proxy -v
app: $(APP_NAME)-native ## Create an Alacritty.app
app-universal: $(APP_NAME)-universal ## Create a universal Alacritty.app
@ -48,7 +48,7 @@ $(APP_NAME)-%: $(TARGET)-%
@echo "Created '$(APP_NAME)' in '$(APP_DIR)'"
xattr -c $(APP_DIR)/$(APP_NAME)/Contents/Info.plist
xattr -c $(APP_DIR)/$(APP_NAME)/Contents/Resources/lapce.icns
/usr/bin/codesign --force -s FAC8FBEA99169DC1980731029648F110628D6A32 $(APP_DIR)/$(APP_NAME) -v
/usr/bin/codesign --options=runtime --force -s FAC8FBEA99169DC1980731029648F110628D6A32 $(APP_DIR)/$(APP_NAME) -v
dmg: $(DMG_NAME)-native ## Create an Alacritty.dmg
dmg-universal: $(DMG_NAME)-universal ## Create a universal Alacritty.dmg
@ -61,7 +61,7 @@ $(DMG_NAME)-%: $(APP_NAME)-%
-srcfolder $(APP_DIR) \
-ov -format UDZO
@echo "Packed '$(APP_NAME)' in '$(APP_DIR)'"
/usr/bin/codesign --force -s FAC8FBEA99169DC1980731029648F110628D6A32 $(DMG_DIR)/$(DMG_NAME) -v
/usr/bin/codesign --options=runtime --force -s FAC8FBEA99169DC1980731029648F110628D6A32 $(DMG_DIR)/$(DMG_NAME) -v
install: $(INSTALL)-native ## Mount disk image
install-universal: $(INSTALL)-native ## Mount universal disk image