refactor: remove code for non-native extensions shim (#23340)
This commit is contained in:
parent
3e5486323a
commit
8d0a612265
13 changed files with 5 additions and 1175 deletions
|
@ -4,10 +4,6 @@
|
|||
// BrowserWindow-based extensions stuff to the new native-backed extensions
|
||||
// API.
|
||||
|
||||
if (!process.electronBinding('features').isExtensionsEnabled()) {
|
||||
throw new Error('Attempted to load JS chrome-extension shim without //extensions support enabled');
|
||||
}
|
||||
|
||||
const { app, session, BrowserWindow, deprecate } = require('electron');
|
||||
|
||||
app.whenReady().then(function () {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue