vscode-coder icon indicating copy to clipboard operation
vscode-coder copied to clipboard

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

Open spikecurtis opened this issue 9 months ago • 2 comments

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.

spikecurtis avatar May 07 '24 13:05 spikecurtis

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 avatar May 07 '24 22:05 code-asher

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

code-asher avatar May 07 '24 22:05 code-asher