Skip to content
This repository has been archived by the owner on Jun 26, 2023. It is now read-only.

Commit

Permalink
Update GUI.py
Browse files Browse the repository at this point in the history
  • Loading branch information
TNTwise authored Nov 27, 2022
1 parent 8a5712f commit f4e6b36
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions GUI.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
os.system('python3 -m pip install opencv-python')
os.system('python3 -m pip install tk')
os.system('python3 -m pip install requests')
os.system('python3 -m pip install wget')
os.system('python3 -m pip install distro')
os.system('rm files/get-pip.py')
with open (thisdir+"/programstate", "w") as f:
f.write(homedir)
Expand Down Expand Up @@ -100,9 +100,9 @@ def check_for_updates():
is_updated = 0
os.system(f'mkdir "{thisdir}/temp/"')
os.chdir(f"{thisdir}/temp/")
os.system(f"python3 -m wget https://raw.githubusercontent.com/TNTwise/Rife-Vulkan-GUI-Linux/Stable/GUI.py")
os.system(f"python3 -m wget https://raw.githubusercontent.com/TNTwise/Rife-Vulkan-GUI-Linux/Stable/files/start.py")
os.system(f"python3 -m wget https://raw.githubusercontent.com/TNTwise/Rife-Vulkan-GUI-Linux/Stable/Start")
os.system(f"wget https://raw.githubusercontent.com/TNTwise/Rife-Vulkan-GUI-Linux/Stable/GUI.py")
os.system(f"wget https://raw.githubusercontent.com/TNTwise/Rife-Vulkan-GUI-Linux/Stable/files/start.py")
os.system(f"wget https://raw.githubusercontent.com/TNTwise/Rife-Vulkan-GUI-Linux/Stable/Start")
os.chdir(f"{thisdir}")
file1 = open(f"{thisdir}/temp/GUI.py")
file2 = open(f"{thisdir}/GUI.py")
Expand Down Expand Up @@ -131,7 +131,7 @@ def check_for_updates():
if latest_ver > current:
is_updated = 1
os.chdir(f"{thisdir}/files/")
os.system(f"python3 -m wget https://github.com/nihui/rife-ncnn-vulkan/releases/download/{latest_ver}/rife-ncnn-vulkan-{latest_ver}-ubuntu.zip")
os.system(f"wget https://github.com/nihui/rife-ncnn-vulkan/releases/download/{latest_ver}/rife-ncnn-vulkan-{latest_ver}-ubuntu.zip")
with ZipFile(f'rife-ncnn-vulkan-{latest_ver}-ubuntu.zip','r') as f:
f.extractall()
os.chdir(f"{thisdir}")
Expand Down

0 comments on commit f4e6b36

Please sign in to comment.