-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAutoUpdaterEventType.hx
More file actions
41 lines (38 loc) · 959 Bytes
/
AutoUpdaterEventType.hx
File metadata and controls
41 lines (38 loc) · 959 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
package eventtypes.electron;
/**
Auto generated from electron 2.0.2 api docs.
**/
enum abstract AutoUpdaterEventType(String) to String
#if hxnodejs to js.node.events.EventEmitter.Event<haxe.Constraints.Function> #end
{
/**
Emitted when there is an error while updating.
Returns:
- `error` Error
**/
var Error = "error";
/**
Emitted when checking if an update has started.
**/
var CheckingForUpdate = "checking-for-update";
/**
Emitted when there is an available update. The update is downloaded
automatically.
**/
var UpdateAvailable = "update-available";
/**
Emitted when there is no available update.
**/
var UpdateNotAvailable = "update-not-available";
/**
Emitted when an update has been downloaded. On Windows only releaseName
is available.
Returns:
- `event` Event
- `releaseNotes` String
- `releaseName` String
- `releaseDate` Date
- `updateURL` String
**/
var UpdateDownloaded = "update-downloaded";
}