2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 14:45:14 +00:00

Fix build for the new GYP version, fix Appveyor.

This commit is contained in:
John Preston
2017-05-05 12:25:06 +03:00
parent bf659938ba
commit 475f0e9544
5 changed files with 29 additions and 17 deletions

View File

@@ -22,8 +22,14 @@ import glob, re, binascii, os, sys
input_file = ''
output_path = ''
next_output_path = False
for arg in sys.argv[1:]:
if re.match(r'^-o(.+)', arg):
if next_output_path:
next_output_path = False
output_path = arg
elif arg == '-o':
next_output_path = True
elif re.match(r'^-o(.+)', arg):
output_path = arg[2:]
else:
input_file = arg