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():
|
||||
first_guess = Path("C:/Program Files (x86)/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():
|
||||
return first_guess.as_posix()
|
||||
elif second_guess.is_dir():
|
||||
return second_guess.as_posix()
|
||||
elif third_guess.is_dir():
|
||||
return third_guess.as_posix()
|
||||
else:
|
||||
return False
|
||||
|
||||
|
|
|
@ -41,7 +41,7 @@ def main():
|
|||
subprocess.call(archive)
|
||||
|
||||
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")
|
||||
rmfulldir("./barotrauma-sunken-tapes")
|
||||
|
|
Loading…
Reference in New Issue