Signs an executable with CD Signer, and verifies it with Apple notary service. Returns: The path to the signed executable.
(signing_data: CdSigningData, chat_path: pathlib.Path)
| 358 | |
| 359 | |
| 360 | def sign_and_notarize(signing_data: CdSigningData, chat_path: pathlib.Path) -> pathlib.Path: |
| 361 | """ |
| 362 | Signs an executable with CD Signer, and verifies it with Apple notary service. |
| 363 | |
| 364 | Returns: |
| 365 | The path to the signed executable. |
| 366 | """ |
| 367 | # First, sign the application |
| 368 | chat_path = sign_executable(signing_data, chat_path) |
| 369 | |
| 370 | # Next, notarize the application |
| 371 | notarize_executable(signing_data, chat_path) |
| 372 | |
| 373 | return chat_path |
| 374 | |
| 375 | |
| 376 | def build_macos(chat_path: pathlib.Path, signing_data: CdSigningData | None): |
no test coverage detected