Skip to content

ensure github CLI launches under WSL - #5111

Closed
shiftkey wants to merge 5 commits into
masterfrom
make-cli-work-under-wsl
Closed

shiftkey wants to merge 5 commits into
masterfrom
make-cli-work-under-wsl

Conversation

@shiftkey

@shiftkey shiftkey commented Jul 6, 2018 •

Copy link
Copy Markdown
Member

Fixes #4998

There's two parts to this PR:

  1. our shim for launching Desktop from bash-esque environments at %LOCALAPPDATA%\GitHubDesktop\bin\github has a mix of forward slashes and backslashes

I think this needs to be normalized to / everywhere but I suspect node is going to keep using \ because it's Windows.

  1. the launcher doesn't have any checks for it's environment, and based on what VSCode is doing in their launcher script I think we should do the same.
  • cut a test release, confirm the shim is generated in the correct format
  • confirm the github launcher works in WSL
  • confirm the github launcher works in Git Bash
  • confirm the github launcher works in PowerShell
  • confirm the github launcher works in CMD

@shiftkey shiftkey added this to the 1.3.x milestone Jul 19, 2018
@shiftkey
shiftkey force-pushed the make-cli-work-under-wsl branch from 014c1fa to c77da87 Compare August 10, 2018 12:35
@hubot
hubot requested a deployment to test August 10, 2018 12:37 Abandoned
@hubot
hubot deployed to test August 14, 2018 13:54 Active
@shiftkey

Copy link
Copy Markdown
Member Author

Closing this out for now because I have more urgent things to tackle, but I'd love for someone more WSL-savvy to see if they can help wrap this up.

@shiftkey shiftkey closed this Aug 27, 2018
@shiftkey shiftkey mentioned this pull request Aug 27, 2018
@shiftkey
shiftkey deleted the make-cli-work-under-wsl branch September 10, 2018 14:53

This branch was successfully deployed

1 active deployment
test — 3fbbf7ab Deployed Aug 14, 2018 by hubot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants