mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-30 22:25:12 +00:00
Fix build for the new GYP version, fix Appveyor.
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user