Fix indentation for zip extraction block

Corrected the indentation so that the extraction of the executable occurs within the context of the open zip file. This ensures the file is extracted while the zip is accessible, preventing potential errors.
This commit is contained in:
oop7
2026-01-07 18:45:51 +02:00
parent a4df946169
commit 26d063327c
+1 -1
View File
@@ -171,7 +171,7 @@ class DownloadDenoThread(QThread):
self.finished_signal.emit(False, f"Executable '{executable_name}' not found in zip")
return
# Extract to app bin directory
# Extract to app bin directory (while zip_ref is open)
target_dir = DENO_APP_BIN_PATH.parent
zip_ref.extract(executable_name, target_dir)