Update Brewfile format

This commit is contained in:
pagedown
2022-02-09 21:35:22 +08:00
parent d3bc6001d8
commit 8ebd514251
3 changed files with 9 additions and 9 deletions

View File

@@ -30,7 +30,7 @@ def install_deps():
print('Installing kitty dependencies...')
sys.stdout.flush()
if is_macos:
items = (x.strip() for x in open('Brewfile').readlines() if not x.startswith('#'))
items = (x.split()[1].strip('"') for x in open('Brewfile').readlines() if x.strip().startswith('brew '))
run('brew', 'install', *items)
else:
run('sudo apt-get update')