mirror of
https://github.com/electron/electron.git
synced 2026-01-09 15:38:08 -05:00
chore: rename atomBinding to electronBinding (#17419)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
'use strict'
|
||||
|
||||
const EventEmitter = require('events').EventEmitter
|
||||
const { autoUpdater, AutoUpdater } = process.atomBinding('auto_updater')
|
||||
const { autoUpdater, AutoUpdater } = process.electronBinding('auto_updater')
|
||||
|
||||
// AutoUpdater is an EventEmitter.
|
||||
Object.setPrototypeOf(AutoUpdater.prototype, EventEmitter.prototype)
|
||||
|
||||
Reference in New Issue
Block a user