We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 28d3138 commit 4825ef2Copy full SHA for 4825ef2
src/remote.ts
@@ -394,7 +394,11 @@ export class Remote {
394
if (this.mode === vscode.ExtensionMode.Production) {
395
binaryPath = await this.storage.fetchBinary()
396
} else {
397
- binaryPath = path.join(os.tmpdir(), "coder")
+ if (os.platform() === "darwin") {
398
+ binaryPath = path.join(os.tmpdir(), "coder", "coder")
399
+ } else {
400
+ binaryPath = path.join(os.tmpdir(), "coder")
401
+ }
402
}
403
if (!binaryPath) {
404
throw new Error("Failed to fetch the Coder binary!")
0 commit comments