You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: readme.md
+9-7Lines changed: 9 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
# update-electron-app
1
+
# update-electron-app
2
2
3
3
> A drop-in module that adds autoUpdating capabilities to Electron apps
4
4
@@ -57,20 +57,22 @@ Options:
57
57
-`host` String (optional) - Defaults to `https://update.electronjs.org`
58
58
-`updateInterval` String (optional) - How frequently to check for updates. Defaults to `10 minutes`. Minimum allowed interval is `5 minutes`.
59
59
-`logger` Object (optional) - A custom logger object that defines a `log` function. Defaults to `console`. See [electron-log](https://github.com/megahertz/electron-log), a module that aggregates logs from main and renderer processes into a single file.
60
+
-`notifyUser` Boolean (optional) - Defaults to `true`. When enabled the user will be
61
+
prompted to apply the update immediately after download.
60
62
61
63
## FAQ
62
64
63
65
#### What kinds of assets do I need to build?
64
66
65
-
For macOS, you'll need to build a `.zip` file and include it in your GitHub Release.
67
+
For macOS, you'll need to build a `.zip` file and include it in your GitHub Release.
66
68
Use [electron-forge] or [electron-installer-zip] to package your app as a zip.
67
69
68
-
For Windows, you'll need to build a `.exe` file and include it in your GitHub Release.
70
+
For Windows, you'll need to build a `.exe` file and include it in your GitHub Release.
69
71
70
72
#### Why is my app launching multiple times?
71
73
72
74
Windows apps have an update process that requires multiple application restarts.
73
-
You can use the [electron-squirrel-startup](https://github.com/mongodb-js/electron-squirrel-startup) module to improve this
75
+
You can use the [electron-squirrel-startup](https://github.com/mongodb-js/electron-squirrel-startup) module to improve this
74
76
behavior.
75
77
76
78
#### Can I use this module by uploading my private app's builds to a public GitHub repository?
@@ -83,10 +85,10 @@ MIT
83
85
84
86
## See Also
85
87
86
-
If your app is packaged with `electron-builder`, you may not need this module.
87
-
Builder has its own built-in mechanism for updating apps. Find out more at
88
+
If your app is packaged with `electron-builder`, you may not need this module.
89
+
Builder has its own built-in mechanism for updating apps. Find out more at
0 commit comments