Skip to content

Commit

Permalink
fix: support new electron 11 module names (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
nornagon authored Nov 23, 2020
1 parent bd96b74 commit 1d35ec8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/common/module-names.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ export const commonModules = [
export const browserModules = [
{ name: 'app' },
{ name: 'autoUpdater' },
{ name: 'BaseWindow' },
{ name: 'BrowserView' },
{ name: 'BrowserWindow' },
{ name: 'contentTracing' },
Expand All @@ -30,13 +31,15 @@ export const browserModules = [
{ name: 'protocol' },
{ name: 'screen' },
{ name: 'session' },
{ name: 'ShareMenu' },
{ name: 'systemPreferences' },
{ name: 'TopLevelWindow' },
{ name: 'TouchBar' },
{ name: 'Tray' },
{ name: 'View' },
{ name: 'webContents' },
{ name: 'WebContentsView' }
{ name: 'WebContentsView' },
{ name: 'webFrameMain' },
].concat(commonModules);

const features = getElectronBinding('features');
Expand Down

0 comments on commit 1d35ec8

Please sign in to comment.