mirror of
https://github.com/jimeh/build-emacs-for-macos.git
synced 2026-02-19 10:46:39 +00:00
The sign command signs Emacs.app application bundles with Apple's codesign utility. It does a few things outside of just executing codesign: - Is aware of *.eln native-compilation files, which need to be explicitly searched for on disk and passed to codesign, as they are not detected when using the "--deep" option. - Is aware of Contents/MacOS/bin/emacs CLI helper tool which we add into the application bundle, and specifically passed it to codesign as well. - By default provides a set of entitlements which are relevant for Emacs when running codesign.
17 lines
305 B
Go
17 lines
305 B
Go
package sign
|
|
|
|
import "io"
|
|
|
|
type Options struct {
|
|
Identity string
|
|
Entitlements *Entitlements
|
|
EntitlementsFile string
|
|
Options []string
|
|
Deep bool
|
|
Timestamp bool
|
|
Force bool
|
|
Verbose bool
|
|
Output io.Writer
|
|
CodeSignCmd string
|
|
}
|