Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:obsgeek0:branches:devel:tools:ide:vscode:dev
code
Fix-restart-opening-electron-default-app.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File Fix-restart-opening-electron-default-app.patch of Package code
Add execPath to app.relaunch call and point it to our wrapper script, because otherwise the default app (about box) is launched instead. --- a/src/vs/platform/lifecycle/electron-main/lifecycleMainService.ts 2022-03-29 17:21:16.000000000 +0200 +++ b/src/vs/platform/lifecycle/electron-main/lifecycleMainService.ts 2022-03-31 19:24:21.497621351 +0200 @@ -595,7 +595,7 @@ const quitListener = () => { if (!this.relaunchHandler?.handleRelaunch(options)) { this.trace('Lifecycle#relaunch() - calling app.relaunch()'); - app.relaunch({ args }); + app.relaunch({ args, execPath: 'XXXLIBEXECDIRXXX/code-oss.js'}) } }; app.once('quit', quitListener);
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor