sign-factor-app ( -- )


Vocabulary
mason.release.sign

Inputs
None

Outputs
None

Definition


Methods

M: macos sign-factor-app
{
"Factor.app/"
"libfactor.dylib"
"libfactor-ffi-test.dylib"
} [
[
"codesign" , "--entitlements" ,
"factor.entitlements" make-factor-path ,
"--option" , "runtime" , "--force" , "--sign" ,
"Developer ID Application" , cert-path ,
make-factor-path ,
] { } make short-running-process
] each ;






M:: windows sign-factor-app ( -- )
{
"factor.com"
"factor.exe"
"factor.dll"
"libfactor-ffi-test.dll"
} [
{
"signtool"
"sign"
"/v"
"/tr"
"http://timestamp.digicert.com"
"/td"
"SHA256"
"/fd"
"SHA256"
"/a"
} swap make-factor-path suffix short-running-process
] each ;