chmod +X cutechess-ob; report downloading.

Tested with --clean
This commit is contained in:
andrew committed 2023-11-16 21:03:09 -05:00
1 parent 28d4f859c2
commit 3986e8f497
1 file changed
+5
+5
View File
@@ -20,6 +20,7 @@
import argparse
import os
import platform
import requests
import shutil
import tempfile
@@ -138,12 +139,16 @@ def download_client_files(args):
except:
raise Exception('Unable to extract .zip archive contents')
if platform.system() != 'Windows':
os.system('chmod +x cutechess-ob')
if __name__ == '__main__':
args = parse_arguments()
if args.clean or not has_worker():
print ('[NOTE] Downloading Client...')
try_forever(download_client_files, [args], 'Failed to download Client files')
from client import BadVersionException