Description
Hey, thank you for taking your time to read this.
Due to security policies in place, we are having issues using this extension without getting exceptions passed. It appears the fetchBinary()
method in storage.ts
is calling getBinaryCachePath()
which uses path.join(this.globalStorageUri.fsPath, "bin")
that returns %APPDATA%\Code\User\globalStorage\coder.coder-remote\bin\
. Is it possible to either be able to choose where this bin gets stored/checked, or possibly update the checkBinaryExists()
to check for system/user environment variables to see if the Coder CLI is already in the PATH? This would alleviate a lot of headaches if we could either choose the path to store the bin folder/file or be able to check to see if we already have a folder specified in our environment variables for the Coder CLI. No issues if the extension needs to update the Coder CLI in the environment variable PATH.
Please let me know if you have any thoughts/potential workarounds, thank you very much!