Add appRoot to windows protocol handler

This commit is contained in:
rzj17
2019-11-21 10:47:24 +00:00
parent f820a9a9e4
commit b8ecf87cd9
2 changed files with 7 additions and 3 deletions

View File

@@ -639,7 +639,7 @@ export class CodeApplication extends Disposable {
// Watch Electron URLs and forward them to the UrlService
const args = this.environmentService.args;
const urls = args['open-url'] ? args._urls : [];
const urlListener = new ElectronURLListener(urls || [], urlService, windowsMainService);
const urlListener = new ElectronURLListener(urls || [], urlService, windowsMainService, this.environmentService);
this._register(urlListener);
// Open our first window