Added possibility to repair SAM sites (WIP)

This commit is contained in:
Khopa
2020-08-23 13:43:33 +02:00
parent 70babd9c32
commit bcae51cc92
11 changed files with 242 additions and 29 deletions

View File

@@ -45,7 +45,7 @@ def _mk_archieve():
shutil.rmtree("./dist")
except FileNotFoundError:
pass
os.system("pyinstaller.exe pyinstaller.spec")
os.system("pyinstaller.exe --clean pyinstaller.spec")
#archieve = ZipFile(path, "w")
#archieve.writestr("dcs_liberation.bat", "cd dist\\dcs_liberation\r\nliberation_main \"%UserProfile%\\Saved Games\" \"{}\"".format(VERSION))
#_zip_dir(archieve, "./dist/dcs_liberation")