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:
@@ -172,7 +172,8 @@ class DownloadDenoThread(QThread):
|
||||
return
|
||||
|
||||
# Extract to app bin directory
|
||||
zip_ref.extract(executable_name, APP_BIN_DIR)
|
||||
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