-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incorrect installation path when using downloadAndUnzipVSCode
in versions 1.85.0 and above
#255
Labels
*duplicate
Issue identified as a duplicate of another issue(s)
Comments
umpox
changed the title
Incorrect installation path when using Jan 11, 2024
resolveCliArgsFromVSCodeExecutablePath
returns an incorrect path OR downloads to an incorrect place for VS Code version 1.85.0downloadAndUnzipVSCode
in versions 1.85.0 and above
Example code that errors:
|
Do you get passed the download stage ? For me this:
Causes the error:
No problem if I use version 1.84.0 though |
Please upgrade to the latest version of @vscode/test-electron where this is fixed. |
connor4312
added
the
*duplicate
Issue identified as a duplicate of another issue(s)
label
Jan 16, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There seems to have been a regression somewhere with how
resolveCliArgsFromVSCodeExecutablePath
either downloads VS Code, or returns the correct CLI path. It is missingVisual Studio Code.app
from the installation path.Before (pre 1.85.0)
const vscodeExecutablePath = await downloadAndUnzipVSCode({ version: '1.84.0' })
Download location: .vscode-test/vscode-darwin-arm64-1.84.0/Visual Studio Code.app/Contents/Resources/app/bin/code
After (1.85.0 and after)
const vscodeExecutablePath = await downloadAndUnzipVSCode({ version: '1.85.0' })
Download location :.vscode-test/vscode-darwin-arm64-1.85.0/Contents/Resources/app/bin/code
resolveCliArgsFromVSCodeExecutablePath
still expects "Visual Studio Code.app" in the path.This causes the error:
.vscode-test/vscode-darwin-arm64-1.85.1/Visual Studio Code.app/Contents/Resources/app/bin/code: No such file or directory
The text was updated successfully, but these errors were encountered: