mirror of
https://github.com/alacritty/alacritty.git
synced 2024-11-18 13:55:23 -05:00
Fix repeated permission requests on M1 macs
This adds a codesign step to our makefile build which should automatically sign the application and resolve the issues on M1 macs where Alacritty constantly requests permissions. Since self-signing does still seem to fix this issue after sharing the resulting `Alacritty.app` with other M1 macs, the binary produced by our release build should also be fixed automatically. Fixes #5840.
This commit is contained in:
parent
40b5e179a3
commit
4bf8f375ef
2 changed files with 3 additions and 0 deletions
|
@ -29,6 +29,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
||||||
- Builtin font lines not contiguous when `font.offset` is used
|
- Builtin font lines not contiguous when `font.offset` is used
|
||||||
- `font.glyph_offset` is no longer applied on builtin font
|
- `font.glyph_offset` is no longer applied on builtin font
|
||||||
- Buili-in font arcs alignment
|
- Buili-in font arcs alignment
|
||||||
|
- Repeated permission prompts on M1 macs
|
||||||
|
|
||||||
## 0.10.0
|
## 0.10.0
|
||||||
|
|
||||||
|
|
2
Makefile
2
Makefile
|
@ -52,6 +52,8 @@ $(APP_NAME)-%: $(TARGET)-%
|
||||||
@cp -fp $(APP_BINARY) $(APP_BINARY_DIR)
|
@cp -fp $(APP_BINARY) $(APP_BINARY_DIR)
|
||||||
@cp -fp $(COMPLETIONS) $(APP_COMPLETIONS_DIR)
|
@cp -fp $(COMPLETIONS) $(APP_COMPLETIONS_DIR)
|
||||||
@touch -r "$(APP_BINARY)" "$(APP_DIR)/$(APP_NAME)"
|
@touch -r "$(APP_BINARY)" "$(APP_DIR)/$(APP_NAME)"
|
||||||
|
@codesign --remove-signature "$(APP_DIR)/$(APP_NAME)"
|
||||||
|
@codesign --force --deep --sign - "$(APP_DIR)/$(APP_NAME)"
|
||||||
@echo "Created '$(APP_NAME)' in '$(APP_DIR)'"
|
@echo "Created '$(APP_NAME)' in '$(APP_DIR)'"
|
||||||
|
|
||||||
dmg: $(DMG_NAME)-native ## Create an Alacritty.dmg
|
dmg: $(DMG_NAME)-native ## Create an Alacritty.dmg
|
||||||
|
|
Loading…
Reference in a new issue