AutoUpdater
external interface AutoUpdater : <ERROR CLASS> ERROR CLASS: Symbol not found for node.events.EventEmitter(source)
Properties
Link copied to clipboard
abstract val beforeQuitForUpdateEvent: ERROR CLASS: Symbol not found for node.events.EventInstance<ERROR CLASS: Symbol not found for js.array.Tuple>
Link copied to clipboard
abstract val checkingForUpdateEvent: ERROR CLASS: Symbol not found for node.events.EventInstance<ERROR CLASS: Symbol not found for js.array.Tuple>
Link copied to clipboard
abstract val errorEvent: ERROR CLASS: Symbol not found for node.events.EventInstance<ERROR CLASS: Symbol not found for js.array.Tuple1<ERROR CLASS: Symbol not found for js.errors.JsError>>
Link copied to clipboard
abstract val updateAvailableEvent: ERROR CLASS: Symbol not found for node.events.EventInstance<ERROR CLASS: Symbol not found for js.array.Tuple>
Link copied to clipboard
abstract val updateDownloadedEvent: ERROR CLASS: Symbol not found for node.events.EventInstance<ERROR CLASS: Symbol not found for js.array.Tuple5<electron/core/Event<*>, kotlin/String, kotlin/String, ERROR CLASS: Symbol not found for Date, kotlin/String>>
Link copied to clipboard
abstract val updateNotAvailableEvent: ERROR CLASS: Symbol not found for node.events.EventInstance<ERROR CLASS: Symbol not found for js.array.Tuple>
Functions
Link copied to clipboard
Asks the server whether there is an update. You must call setFeedURL
before using this API.
Link copied to clipboard
The current update feed URL.
Link copied to clipboard
Restarts the app and installs the update after it has been downloaded. It should only be called after update-downloaded
has been emitted.
Link copied to clipboard
Sets the url
and initialize the auto updater.