mirror of
https://github.com/octoleo/syncthing.git
synced 2024-12-22 19:08:58 +00:00
build: Enable hardened runtime in Mac codesigning
syncthing/syncthing-macos#111
This commit is contained in:
parent
a94951becd
commit
aac3750298
2
build.go
2
build.go
@ -1144,7 +1144,7 @@ func macosCodesign(file string) {
|
||||
}
|
||||
|
||||
if id := os.Getenv("CODESIGN_IDENTITY"); id != "" {
|
||||
bs, err := runError("codesign", "-s", id, file)
|
||||
bs, err := runError("codesign", "--options=runtime", "-s", id, file)
|
||||
if err != nil {
|
||||
log.Println("Codesign: signing failed:", string(bs))
|
||||
return
|
||||
|
Loading…
Reference in New Issue
Block a user