Migrate desktop apps to user.py

This commit is contained in:
2023-09-16 01:08:52 +10:00
parent 18279269c6
commit edef3be690
3 changed files with 293 additions and 425 deletions
+1 -1
View File
@@ -121,7 +121,7 @@ def download_file_at_url(url, download_path, download_checksum, label):
if os.path.isfile(download_path):
os.unlink(download_path)
os.rename(temp_file_path, download_path)
shutil.move(temp_file_path, download_path)
if file_already_downloaded == False:
if verify_file_sha256(download_path, download_checksum, 'Downloaded archive') == False: