             ${
                 "signtool" "sign"
                 "/v"
-                "/f" cert-path normalize-path
+                "/f" cert-path
             }
         ] dip make-factor-path suffix short-running-process
     ] each ;


M: object cert-path f ;

M: macosx cert-path "~/config/mac_app.cer" ;

M: windows cert-path "~/config/FactorSPC.pfx" ;
>>

HOOK: sign-factor-app os ( -- )

    ${
        "codesign" "--force" "--sign"
        "Developer ID Application"
        cert-path
    }
    "Factor.app/" make-factor-path suffix
    short-running-process ;
