chore: rename atomBinding to electronBinding (#17419)
This commit is contained in:
parent
5025c991ee
commit
38d75010c7
81 changed files with 167 additions and 164 deletions
|
@ -1,7 +1,7 @@
|
|||
import { app, session } from 'electron'
|
||||
|
||||
// Global protocol APIs.
|
||||
const protocol = process.atomBinding('protocol')
|
||||
const protocol = process.electronBinding('protocol')
|
||||
|
||||
// Fallback protocol APIs of default session.
|
||||
Object.setPrototypeOf(protocol, new Proxy({}, {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue