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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user