A drop-in module that adds autoUpdating capabilities to Electron apps
89
{
"context": "Evaluates how well the solution configures update-electron-app to customize user-facing update prompts by combining the onNotifyUser hook with makeUserNotifier dialog overrides for downloaded updates.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Hook registered",
"description": "Calls updateElectronApp with notifyUser enabled and supplies an onNotifyUser callback to handle the update-downloaded event instead of wiring autoUpdater manually.",
"max_score": 25
},
{
"name": "Dialog overrides",
"description": "Uses makeUserNotifier(dialogProps) to generate the prompt and passes through all provided dialog text overrides (title, detail, restartButtonText, laterButtonText).",
"max_score": 25
},
{
"name": "Custom handler data",
"description": "Within onNotifyUser, consumes the IUpdateInfo payload (releaseName/releaseNotes) and forwards it to the user-supplied notifier so it can present accurate update details.",
"max_score": 25
},
{
"name": "Restart/fallback flow",
"description": "Provides a restart callback that triggers autoUpdater.quitAndInstall when the user accepts, and falls back to makeUserNotifier defaults when no custom notifier calls restart.",
"max_score": 25
}
]
}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