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
3. Use `autoUpdater` from `electron-updater` instead of `electron`, e.g. (ES 6):
13
+
3. Use `autoUpdater` from `electron-updater` instead of `electron`:
14
14
15
15
```js
16
-
import {autoUpdater} from"electron-updater"
17
-
```
16
+
import { autoUpdater } from"electron-updater"
17
+
```
18
+
19
+
Or if you don't use ES6: `const autoUpdater = require("electron-updater").autoUpdater`
18
20
19
21
4. Do not call `setFeedURL`. electron-builder automatically creates `app-update.yml` file for you on build in the `resources` (this file is internal, you don't need to be aware of it).
Copy file name to clipboardExpand all lines: docs/Options.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -133,6 +133,7 @@ On Windows works only if [nsis.perMachine](https://github.com/electron-userland/
133
133
| compression | <aname="LinuxBuildOptions-compression"></a>*deb-only.* The compression type, one of `gz`, `bzip2`, `xz`. Defaults to `xz`.
134
134
| depends | <aname="LinuxBuildOptions-depends"></a>Package dependencies. Defaults to `["gconf2", "gconf-service", "libnotify4", "libappindicator1", "libxtst6", "libnss3"]` for `deb`.
135
135
| executableName | <aname="LinuxBuildOptions-executableName"></a><p>The executable name. Defaults to <code>productName</code>.</p> <p>Cannot be specified per target, allowed only in the <code>linux</code>.</p>
136
+
| icon | <aname="LinuxBuildOptions-icon"></a><p>The path to icon set directory, relative to <code>build</code> (build resources directory). The icon filename must contain the size (e.g. 32x32.png) of the icon. By default will be generated automatically based on the macOS icns file.</p>
0 commit comments