coder / vscode-coder

Open any Coder workspace in VS Code with a single click.
MIT License
66 stars 15 forks source link

write Coder binary to a fixed (not-user-specific) path #256

Open spikecurtis opened 4 months ago

spikecurtis commented 4 months ago

In order to get direct network connections working, a customer needs to add a firewall exception for coder.exe on Windows. They manage their firewall rules centrally, and the problem is that the IDE plugin writes to the directory

c:\Users\%USERNAME%\AppData\Roaming\Code\User\globalStorage\coder.coder-remote

Since the directory is different for every person, they can't push out a central firewall rule.

It would be better if we could write to somewhere that doesn't depend on the username, and/or write somewhere centrally configurable.

code-asher commented 4 months ago

If they can control the settings they can configure coder.binaryDestination to a static location.

Not sure how easy it is to manage VS Code settings as policy, though, so maybe we need a different way to configure this.

code-asher commented 4 months ago

Oh yeah actually VS Code does have policy-level settings, maybe this will work: https://code.visualstudio.com/docs/setup/enterprise