mirror of
https://github.com/Faraphel/Atlas-Install.git
synced 2025-07-06 12:48:22 +02:00
PATH directory wasn't properly detected
This commit is contained in:
parent
f9fdc18982
commit
44187f5338
1 changed files with 4 additions and 2 deletions
|
@ -73,11 +73,13 @@ def __init__(self):
|
||||||
if not(os.path.exists(self.path_mkwf)): break
|
if not(os.path.exists(self.path_mkwf)): break
|
||||||
directory_name, i = f"MKWiiFaraphel ({i})", i + 1
|
directory_name, i = f"MKWiiFaraphel ({i})", i + 1
|
||||||
|
|
||||||
if os.path.exists(self.path_mkwf + "/DATA/"): self.path_mkwf += "/DATA/"
|
|
||||||
|
|
||||||
self.Progress(show=True, indeter=True, statut=self.translate("Extraction du jeu..."))
|
self.Progress(show=True, indeter=True, statut=self.translate("Extraction du jeu..."))
|
||||||
subprocess.call(["./tools/wit/wit", "EXTRACT", get_nodir(path), "--DEST", directory_name]
|
subprocess.call(["./tools/wit/wit", "EXTRACT", get_nodir(path), "--DEST", directory_name]
|
||||||
, creationflags=CREATE_NO_WINDOW, cwd=get_dir(path))
|
, creationflags=CREATE_NO_WINDOW, cwd=get_dir(path))
|
||||||
|
|
||||||
|
if os.path.exists(self.path_mkwf + "/DATA/"): self.path_mkwf += "/DATA/"
|
||||||
|
print(self.path_mkwf)
|
||||||
|
|
||||||
self.Progress(show=False)
|
self.Progress(show=False)
|
||||||
|
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in a new issue