A drop-in module that adds autoUpdating capabilities to Electron apps
89
A helper that configures an auto-update client by building the correct feed URL and request headers for the host application.
https://update.electronjs.org), owner/repo, platform, architecture, and the app's current version. @test/RELEASES.json with a JSON server type on macOS. @testUser-Agent header formatted as <package-name>/<package-version> (<platform>: <arch>) using the host app's package metadata. @test@generates
export interface PublicFeedOptions {
host?: string;
repo?: string;
}
export interface StaticFeedOptions {
baseUrl: string;
}
export type UpdateFeedOptions =
| { mode: 'public'; public?: PublicFeedOptions }
| { mode: 'static'; static: StaticFeedOptions };
/**
* Configures the auto-update feed for the host application.
*/
export function configureUpdateFeed(options: UpdateFeedOptions): void;Configures application updates against public or static feeds, including feed URL construction and request headers.
Install with Tessl CLI
npx tessl i tessl/npm-update-electron-appdocs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10