dl-vscode-server icon indicating copy to clipboard operation
dl-vscode-server copied to clipboard

Inconsistent VS Code Server Container Installation Directories

Open b01 opened this issue 1 year ago • 2 comments

I noticed that the directory structure changes from .vscode-server/bin/<commit> to .vscode/cli/servers/Stable-<commit> when you connect to vscode.dev tunnels vs starting up a container locally.

Not sure why they change, but then that also means that .vscode-server/code-<commit> or .vscode/code-<commit> is also needed in some other scenario. Maybe with code-spaces,.

I can make symbolic links to the directories and hope that's good enough. Otherwise the script will need to copy the same folder structure to 3 different places.

b01 avatar May 08 '24 18:05 b01

Looking for help with figuring out what the correct directories are instead of just spamming symlinks everywhere.

b01 avatar May 08 '24 19:05 b01

I was able to verify that spinning up a Dev Container, using a symlink works for ~/.vscode/cli/servers/Stable-"${commit_sha}"/server.

b01 avatar May 08 '24 20:05 b01