MCPcopy Create free account
hub / github.com/defold/defold / mac_certificate

Function mac_certificate

editor/scripts/bundle.py:248–252  ·  view source on GitHub ↗
(codesigning_identity)

Source from the content-addressed store, hash-verified

246 shutil.rmtree(path, onerror=remove_readonly_retry)
247
248def mac_certificate(codesigning_identity):
249 if run.command(['security', 'find-identity', '-p', 'codesigning', '-v']).find(codesigning_identity) >= 0:
250 return codesigning_identity
251 else:
252 return None
253
254def sign_file(platform, options, file):
255 if platform_is_windows(platform):

Callers 2

sign_fileFunction · 0.85
create_dmgFunction · 0.85

Calls 2

commandMethod · 0.80
findMethod · 0.45

Tested by

no test coverage detected