mirror of
https://github.com/Faraphel/Atlas-Install.git
synced 2025-07-03 03:08:29 +02:00
Track-WU8 will be automaticly deleted when convertion to szs is completed
This commit is contained in:
parent
3d703932ca
commit
bcadbfb772
1 changed files with 4 additions and 2 deletions
6
main.pyw
6
main.pyw
|
@ -74,8 +74,10 @@ class ClassApp():
|
|||
if not(os.path.exists("./file/"+get_filename(file)+".bmg")):
|
||||
subprocess.call(["wbmgt", "ENCODE", "./file/"+file])
|
||||
|
||||
subprocess.call(["wszst", "NORMALIZE", "./file/Track-WU8/*.wu8", "-d", "./file/Track/%N.szs", "--szs",
|
||||
"--overwrite", "--autoadd-path", self.path_mkwf+"/files/Race/Course/"])
|
||||
if os.path.exists("./file/Track-WU8/"):
|
||||
subprocess.call(["wszst", "NORMALIZE", "./file/Track-WU8/*.wu8", "-d", "./file/Track/%N.szs", "--szs",
|
||||
"--overwrite", "--autoadd-path", self.path_mkwf+"/files/Race/Course/"])
|
||||
shutil.rmtree("./file/Track-WU8/")
|
||||
|
||||
|
||||
def install_mod(self):
|
||||
|
|
Loading…
Reference in a new issue