mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-05-13 08:26:56 +00:00
parent
68f3b6fbeb
commit
5f855ce547
17 changed files with 161 additions and 139 deletions
|
|
@ -46,7 +46,8 @@ def run(what):
|
|||
raise SystemExit(ret.returncode)
|
||||
|
||||
|
||||
script = open(__file__, 'rb').read().decode('utf-8')
|
||||
with open(__file__, 'rb') as f:
|
||||
script = f.read().decode('utf-8')
|
||||
script = script[:script.find('# EOF_REMOTE')].replace('if False:', 'if True:', 1)
|
||||
os.chdir(os.path.expanduser('~/work/build-kitty'))
|
||||
with tempfile.NamedTemporaryFile(prefix='install-dmg-', suffix='.py') as f:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue