Skip to content
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

Add appRoot to windows protocol handler for dev #85289

Merged
merged 1 commit into from Nov 28, 2019
Merged

Add appRoot to windows protocol handler for dev #85289

merged 1 commit into from Nov 28, 2019

Conversation

jzyrobert
Copy link
Contributor

@jzyrobert jzyrobert commented Nov 21, 2019

This PR fixes #85046

If isBuilt is false, environmentService.appRoot will be added to the arguments such that electron will be able to find the app.

@jzyrobert
Copy link
Contributor Author

However, this seems to fail when your path to the vscode folder contains spaces.
E.g. User/me/Documents/My Work/vscode
Would this require to be wrapped in quotes or escaped?

@joaomoreno
Copy link
Member

@jzyrobert I see you already added quotes around the path. That doesn't address the issue?

@joaomoreno joaomoreno changed the title Add appRoot to windows protocol handler Add appRoot to windows protocol handler for dev Nov 22, 2019
@joaomoreno joaomoreno added the engineering VS Code - Build / issue tracking / etc. label Nov 22, 2019
@jzyrobert
Copy link
Contributor Author

@joaomoreno I pushed the quotes after my previous comment (it works), is that fine?

@joaomoreno
Copy link
Member

Nice, thanks!

@joaomoreno joaomoreno added this to the November 2019 milestone Nov 28, 2019
@joaomoreno joaomoreno merged commit 17f381f into microsoft:master Nov 28, 2019
@github-actions github-actions bot locked and limited conversation to collaborators Mar 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
engineering VS Code - Build / issue tracking / etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Protocol handler not triggered when running out of sources on Windows
2 participants