path updates
parent
c745a80407
commit
a8d56e5c3c
3
main.py
3
main.py
|
@ -108,11 +108,14 @@ def create_install_frame(container):
|
||||||
def find_barotrauma_directory():
|
def find_barotrauma_directory():
|
||||||
first_guess = Path("C:/Program Files (x86)/Steam/steamapps/common/Barotrauma")
|
first_guess = Path("C:/Program Files (x86)/Steam/steamapps/common/Barotrauma")
|
||||||
second_guess = Path("D:/Steam/steamapps/common/Barotrauma")
|
second_guess = Path("D:/Steam/steamapps/common/Barotrauma")
|
||||||
|
third_guess = Path("D:/SteamLibrary/steamapps/common/Barotrauma")
|
||||||
|
|
||||||
if first_guess.is_dir():
|
if first_guess.is_dir():
|
||||||
return first_guess.as_posix()
|
return first_guess.as_posix()
|
||||||
elif second_guess.is_dir():
|
elif second_guess.is_dir():
|
||||||
return second_guess.as_posix()
|
return second_guess.as_posix()
|
||||||
|
elif third_guess.is_dir():
|
||||||
|
return third_guess.as_posix()
|
||||||
else:
|
else:
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
|
|
@ -41,7 +41,7 @@ def main():
|
||||||
subprocess.call(archive)
|
subprocess.call(archive)
|
||||||
|
|
||||||
shutil.copy("./barotrauma-sunken-tapes.zip",
|
shutil.copy("./barotrauma-sunken-tapes.zip",
|
||||||
"../Nextcloud/barotrauma-sunken-tapes/barotrauma-sunken-tapes.zip")
|
"../../obzorje/barotrauma-sunken-tapes/barotrauma-sunken-tapes.zip")
|
||||||
|
|
||||||
os.remove("./barotrauma-sunken-tapes.zip")
|
os.remove("./barotrauma-sunken-tapes.zip")
|
||||||
rmfulldir("./barotrauma-sunken-tapes")
|
rmfulldir("./barotrauma-sunken-tapes")
|
||||||
|
|
Loading…
Reference in New Issue