electron-inline-updater
v0.0.11
Published
A module that allows electron Apps to fetch updates from Github without needing an external server
Downloads
524
Readme
electron-inline-updater
A module that allows electron Apps to fetch updates from a Github backend without needing an external server.
Installation
To install the package, you can use npm:
npm install electron-inline-updater
If you are having issues with bundling your app with vite then you might need to install the package as a dev dependency
npm install -D electron-inline-updater
Usage
Here's an example of how to use the electron-inline-updater
package:
import { inlineUpdater } from "electron-inline-updater";
inlineUpdater();
You can also specify custom options:
import { inlineUpdater } from "electron-inline-updater";
inlineUpdater({
user: "your-github-username",
repo: "your-repo-name",
updateInterval: "15 minutes",
notifyBeforeApply: true,
notifyBeforeDownload: true,
displayChangelog: true,
});
You can also specify custom options: