Skip to content

Add appRoot to windows protocol handler for dev - #85289

Merged
João Moreno (joaomoreno) merged 1 commit into
microsoft:masterfrom
jzyrobert:85046_windows_protocol_handler
Nov 28, 2019
Merged

João Moreno (joaomoreno) merged 1 commit into
microsoft:masterfrom
jzyrobert:85046_windows_protocol_handler

Conversation

@jzyrobert

@jzyrobert Robert Jin (jzyrobert) commented Nov 21, 2019 •

Copy link
Copy Markdown
Contributor

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
Copy Markdown
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
Copy Markdown
Contributor

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

@joaomoreno João Moreno (joaomoreno) changed the title Add appRoot to windows protocol handler Add appRoot to windows protocol handler for dev Nov 22, 2019
@joaomoreno João Moreno (joaomoreno) added the engineering VS Code - Build / issue tracking / etc. label Nov 22, 2019
@jzyrobert

Copy link
Copy Markdown
Contributor Author

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

@joaomoreno

Copy link
Copy Markdown
Contributor

Nice, thanks!

@joaomoreno
João Moreno (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