A drop-in module that adds autoUpdating capabilities to Electron apps
89
Configure the Electron main process to enable default update checks through the public update service, using repository details derived from the host app when not explicitly provided, and to start the process only once the app is packaged and ready.
owner/repo pair from the app's package metadata and initializes the updater using that value @test@generates
export interface AutoUpdateBootstrapOptions {
/**
* Optional repository identifier in `owner/repo` form; defaults to package metadata when omitted.
*/
readonly repository?: string;
/**
* Optional logger with a `log` method used for informational output.
*/
readonly logger?: { log(message: string): void };
}
export function bootstrapAutoUpdates(options?: AutoUpdateBootstrapOptions): void;Provides the default update.electronjs.org bootstrapper for Electron applications.
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