A drop-in module that adds autoUpdating capabilities to Electron apps
89
Configure automatic updates for a packaged desktop app by delegating to the updater dependency while supporting either the public update service or a static HTTPS feed.
owner/repo and an optional HTTPS host, it initializes updates against the public service feed for the current platform/architecture and app version. @test/ separator. @test<baseUrl>/RELEASES.json with JSON server mode, while other platforms use the base URL unchanged. @test@generates
export type UpdateSourceKind = 'public-service' | 'static-storage';
export interface PublicServiceOptions {
repo: string;
host?: string;
}
export interface StaticStorageOptions {
baseUrl: string;
}
export interface UpdaterConfig {
source: UpdateSourceKind;
options: PublicServiceOptions | StaticStorageOptions;
logger?: { log(message: string): void; info?(message: string): void; error?(message: string): void; warn?(message: string): void };
updateInterval?: string;
}
export function configureAppUpdates(config: UpdaterConfig): void;Provides runtime update initialization for desktop apps with configurable update sources.
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