b01 / dl-vscode-server

MIT License
20 stars 4 forks source link

Inconsistent VS Code Server Container Installation Directories #7

Open b01 opened 4 months ago

b01 commented 4 months ago

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 commented 4 months ago

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

b01 commented 4 months ago

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