Remove local re-signing of macOS build.

Now that we aren't patching the build we shouldn't have to try to
re-sign in.
This commit is contained in:
toofar 2023-07-30 13:28:15 +12:00
parent 693e391410
commit c2092640e7
1 changed files with 3 additions and 12 deletions

View File

@ -245,18 +245,9 @@ def verify_windows_exe(exe_path: pathlib.Path) -> None:
assert pe.verify_checksum()
def sign_mac_app() -> None:
def verify_mac_app() -> None:
"""Re-sign and verify the Mac .app."""
app_path = pathlib.Path('dist') / 'qutebrowser.app'
subprocess.run([
'codesign',
'-s', '-',
'--force',
'--timestamp',
'--deep',
'--verbose',
app_path,
], check=True)
subprocess.run([
'codesign',
'--verify',
@ -295,8 +286,8 @@ def build_mac(
utils.print_title("Building .app via pyinstaller")
call_tox(f'pyinstaller-64bit{"-qt5" if qt5 else ""}', '-r', debug=debug)
utils.print_title("Re-signing .app")
sign_mac_app()
utils.print_title("Verifying .app")
verify_mac_app()
dist_path = pathlib.Path("dist")