Skip to content

Can't open VSCode in WSL while offline when there is an update #11607

@PaulKGrimes

Description

@PaulKGrimes

VSCode Version: 1.117
OS Version: wsl
Steps to Reproduce:

Make sure you are offline and don't have the latest version of vscode installed in WSL
Open WSL (Windows Subsystem for Linux)
run "code " to open vscode
Vscode will delete itself and then try to download update even if you are offline, and will be unusable until you can successfully download an update.
Does this issue occur when all extensions are disabled?: Yes

This issue is identical to the previously fixed #3839, and completely disables and uninstalls vscode if you are offline or have spotty internet.

One obvious solution is for the update script to not remove the old version until after the new version has been successfully downloaded, and to start the old version (with possible incompatibilities) in the meantime.

Metadata

Metadata

Assignees

Labels

wslIssue in vscode-remote WSL

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions