feat: expose system preferences to utility process (#42599)
* chore: expose system preferences to utility process * chore: add tests, doc changes and module-list update * relative link * use @ * fix test * chore: disable linux test * kick * noop on windows utility process Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com> Co-authored-by: George Xu <33054982+georgexu99@users.noreply.github.com>
This commit is contained in:
parent
38f7beb216
commit
50ea20168d
7 changed files with 29 additions and 5 deletions
|
@ -1,4 +1,5 @@
|
|||
// Utility side modules, please sort alphabetically.
|
||||
export const utilityNodeModuleList: ElectronInternal.ModuleEntry[] = [
|
||||
{ name: 'net', loader: () => require('./net') }
|
||||
{ name: 'net', loader: () => require('./net') },
|
||||
{ name: 'systemPreferences', loader: () => require('@electron/internal/browser/api/system-preferences') }
|
||||
];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue