A drop-in module that adds autoUpdating capabilities to Electron apps
89
Implement a module that initializes automatic updates for a packaged desktop app and customizes how users are notified once an update is ready to install.
@generates
export interface DialogText {
title?: string;
detail?: string;
restartButtonText?: string;
laterButtonText?: string;
}
export interface UpdateNotificationOptions {
appName: string;
dialogText?: DialogText;
notifier?: (info: { version: string; notes?: string | null }, restart: () => void) => void;
}
export function setupUpdateNotifications(options: UpdateNotificationOptions): void;Configures and manages application updates and user notification prompts.
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