Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
dzhou121 committed Jun 4, 2024
1 parent e7f7c13 commit 838efd6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ $(TARGET)-universal:
MACOSX_DEPLOYMENT_TARGET="11.0" cargo build --profile release-lto --target=x86_64-apple-darwin
MACOSX_DEPLOYMENT_TARGET="11.0" cargo build --profile release-lto --target=aarch64-apple-darwin
@lipo target/{x86_64,aarch64}-apple-darwin/release-lto/$(TARGET) -create -output $(APP_BINARY)
/usr/bin/codesign -vvv --deep --entitlements $(ASSETS_DIR)/entitlements.plist --options runtime --force -s $(CODESIGN_IDENTITY) $(APP_BINARY)
/usr/bin/codesign -vvv --deep --timestamp --entitlements $(ASSETS_DIR)/entitlements.plist --options runtime --force -s $(CODESIGN_IDENTITY) $(APP_BINARY)

app: $(APP_NAME)-native ## Create a Lapce.app
app-universal: $(APP_NAME)-universal ## Create a universal Lapce.app
Expand All @@ -50,7 +50,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 -vvv --deep --entitlements $(ASSETS_DIR)/entitlements.plist --options runtime --force -s $(CODESIGN_IDENTITY) $(APP_DIR)/$(APP_NAME)
/usr/bin/codesign -vvv --deep --timestamp --entitlements $(ASSETS_DIR)/entitlements.plist --options runtime --force -s $(CODESIGN_IDENTITY) $(APP_DIR)/$(APP_NAME)

dmg: $(DMG_NAME)-native ## Create a Lapce.dmg
dmg-universal: $(DMG_NAME)-universal ## Create a universal Lapce.dmg
Expand All @@ -63,7 +63,7 @@ $(DMG_NAME)-%: $(APP_NAME)-%
-srcfolder $(APP_DIR) \
-ov -format UDZO
@echo "Packed '$(APP_NAME)' in '$(APP_DIR)'"
/usr/bin/codesign -vvv --deep --entitlements $(ASSETS_DIR)/entitlements.plist --options runtime --force -s $(CODESIGN_IDENTITY) $(DMG_DIR)/$(DMG_NAME)
/usr/bin/codesign -vvv --deep --timestamp --entitlements $(ASSETS_DIR)/entitlements.plist --options runtime --force -s $(CODESIGN_IDENTITY) $(DMG_DIR)/$(DMG_NAME)

install: $(INSTALL)-native ## Mount disk image
install-universal: $(INSTALL)-native ## Mount universal disk image
Expand Down

0 comments on commit 838efd6

Please sign in to comment.