There is no python anymore on macOS

This commit is contained in:
Kovid Goyal 2022-07-04 08:45:43 +05:30
parent 1aa3d58375
commit 1294a23c95
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -61,4 +61,4 @@ with tempfile.NamedTemporaryFile(prefix='install-dmg-', suffix='.py') as f:
f.write(script.encode('utf-8'))
f.flush()
run(f'scp dist/{dmg} {f.name} {HOST}:/tmp')
run(f'ssh {HOST} python /tmp/{os.path.basename(f.name)} /tmp/{dmg}')
run(f'ssh {HOST} python3 /tmp/{os.path.basename(f.name)} /tmp/{dmg}')