Thanks to visit codestin.com
Credit goes to github.com

Skip to content

feat(windows): rename windows agent to coder.exe #5052

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from

Conversation

ghuntley
Copy link
Contributor

Smallest possible change to improve #5050

@ghuntley ghuntley requested review from bpmct and kylecarbs November 14, 2022 04:44
@@ -15,7 +15,7 @@ while ($true) {
# https://github.com/microsoft/vscode-remote-release/issues/5699
$BINARY_URL="${ACCESS_URL}/bin/coder-windows-${ARCH}.exe"
Write-Output "Fetching coder agent from ${BINARY_URL}"
Invoke-WebRequest -Uri "${BINARY_URL}" -OutFile $env:TEMP\sshd.exe
Invoke-WebRequest -Uri "${BINARY_URL}" -OutFile $env:TEMP\coderd.exe
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

question: shall we call it coder.exe or coderd.exe?

@ghuntley ghuntley changed the title feat(windows): rename windows agent to coderd.exe feat(windows): rename windows agent to coder Nov 14, 2022
@ghuntley ghuntley changed the title feat(windows): rename windows agent to coder feat(windows): rename windows agent to coder.exe Nov 14, 2022
Copy link
Member

@kylecarbs kylecarbs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It actually needs to be called sshd for VS Code Remote to work 🤦‍♂️

@kylecarbs
Copy link
Member

See: microsoft/vscode-remote-release#5699

It's very sad that we need to call it sshd

@mafredri
Copy link
Member

Perhaps we could create a hardlink using fsutil so that we have both coder.exe and sshd.exe?

I'm not sure if Windows could be running on top of a fringe filesystem that results in a hard-linking error, but it could be a "best effort" attempt to have both commands available.

@ghuntley ghuntley marked this pull request as draft November 16, 2022 03:21
@github-actions
Copy link

This Pull Request is becoming stale. In order to minimize WIP, prevent merge conflicts and keep the tracker readable, I'm going close to this PR in 3 days if there isn't more activity.

@github-actions github-actions bot added the stale This issue is like stale bread. label Nov 24, 2022
@github-actions github-actions bot closed this Nov 27, 2022
@github-actions github-actions bot deleted the gh/small-windows-tweaks branch May 15, 2023 00:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale This issue is like stale bread.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants