mirror of
https://github.com/electron/electron.git
synced 2026-05-02 03:00:22 -04:00
refactor: prevent consistent early exception (#24191)
* refactor: prevent consistent early exception * Use _linkedBinding where possible * Remove dead electronBinding
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { shell, Menu } from 'electron';
|
||||
|
||||
const v8Util = process.electronBinding('v8_util');
|
||||
const v8Util = process._linkedBinding('electron_common_v8_util');
|
||||
|
||||
const isMac = process.platform === 'darwin';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user