mirror of
https://github.com/aclist/dztui.git
synced 2026-10-31 15:12:48 +01:00
fix: extract tarfile correctly
This commit is contained in:
1 parent
a8e374cd74
commit
79af78a7e0
2 files changed
+2
-2
No files matched your search
@@ -42,7 +42,7 @@ class UpdateManager:
|
||||
with tarfile.open(TMP_TARBALL) as tar:
|
||||
tar.extractall(TMP_PATH)
|
||||
|
||||
shutil.move(TMP_EXE, exe_path)
|
||||
shutil.copy(TMP_EXE, exe_path)
|
||||
|
||||
proc = subprocess.run([exe_path, "self", "restore"])
|
||||
if proc.returncode == 0:
|
||||
|
||||
Reference in new issue
Block a user