Skip to content

Add appRoot to windows protocol handler for dev#85289

Merged
joaomoreno merged 1 commit intomicrosoft:masterfrom
jzyrobert:85046_windows_protocol_handler
Nov 28, 2019
Merged

Add appRoot to windows protocol handler for dev#85289
joaomoreno merged 1 commit intomicrosoft:masterfrom
jzyrobert:85046_windows_protocol_handler

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