mirror of
https://github.com/Microsoft/vscode
synced 2024-10-30 21:06:57 +00:00
Merge pull request #94503 from microsoft/joao/fix-snap-env
Address GDK snap issues
This commit is contained in:
commit
d2ff4f7143
1 changed files with 6 additions and 0 deletions
|
@ -57,6 +57,12 @@ const nodeCachedDataDir = getNodeCachedDir();
|
|||
// Configure static command line arguments
|
||||
const argvConfig = configureCommandlineSwitchesSync(args);
|
||||
|
||||
// Remove env set by snap https://github.com/microsoft/vscode/issues/85344
|
||||
if (process.env['SNAP']) {
|
||||
delete process.env['GDK_PIXBUF_MODULE_FILE'];
|
||||
delete process.env['GDK_PIXBUF_MODULEDIR'];
|
||||
}
|
||||
|
||||
/**
|
||||
* Support user defined locale: load it early before app('ready')
|
||||
* to have more things running in parallel.
|
||||
|
|
Loading…
Reference in a new issue