From 3593e8d78d99d840665e7b01c8716dbad708da51 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 25 Jul 2024 16:28:14 +0530 Subject: [PATCH] Make the default for update-on-ox fast and useful --- update-on-ox | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/update-on-ox b/update-on-ox index d73054559..6ee71ffe1 100755 --- a/update-on-ox +++ b/update-on-ox @@ -50,9 +50,11 @@ with open(__file__, 'rb') as f: script = script[:script.find('# EOF_REMOTE')].replace('if False:', 'if True:', 1) with tempfile.NamedTemporaryFile(prefix='install-dmg-', suffix='.py') as f: cmd = 'python ../bypy macos program --dont-strip' - if 'sign' in sys.argv: + if 'dont_sign' not in sys.argv: + cmd += ' --sign-installers' + if 'notarize' in sys.argv: cmd += ' --sign-installers --notarize' - if 'skip_tests' in sys.argv: + if 'tests' not in sys.argv: cmd += ' --skip-tests' run(cmd) f.write(script.encode('utf-8'))