Fix extraction path for Deno executable

Changed the extraction target directory for the Deno executable to use the parent of DENO_APP_BIN_PATH instead of APP_BIN_DIR, ensuring the executable is placed in the correct location.
This commit is contained in:
oop7
2026-01-07 18:32:20 +02:00
parent c7751edd91
commit a4df946169
+3 -2
View File
@@ -171,8 +171,9 @@ class DownloadDenoThread(QThread):
self.finished_signal.emit(False, f"Executable '{executable_name}' not found in zip")
return
# Extract to app bin directory
zip_ref.extract(executable_name, APP_BIN_DIR)
# Extract to app bin directory
target_dir = DENO_APP_BIN_PATH.parent
zip_ref.extract(executable_name, target_dir)
# Verify the extracted file exists
exe_path = DENO_APP_BIN_PATH