A drop-in module that adds autoUpdating capabilities to Electron apps
89
{
"context": "Evaluates how well the solution wires the update-electron-app package to surface the download-complete restart-or-later prompt. Checks focus on configuring the package options and notifier utilities so the default dialog, custom copy, custom callbacks, and logging all flow through the library's hooks.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Enable notifyUser",
"description": "Initializes updateElectronApp with user prompting enabled (notifyUser true or default) so the package attaches to the update-downloaded event rather than reimplementing the flow.",
"max_score": 25
},
{
"name": "Default prompt wiring",
"description": "Uses makeUserNotifier() as the default onNotifyUser handler when no custom notifier is provided, relying on the package's restart-or-later dialog behavior instead of custom dialogs.",
"max_score": 20
},
{
"name": "Custom dialog copy",
"description": "Passes provided title/detail/restartButtonText/laterButtonText overrides into makeUserNotifier(dialogProps) to customize the package dialog while keeping its restart-or-later flow intact.",
"max_score": 20
},
{
"name": "Custom callback path",
"description": "When a notifier callback is supplied, assigns it to onNotifyUser so updateElectronApp invokes it on update-downloaded with releaseNotes, releaseName, releaseDate, and updateURL from the IUpdateInfo payload.",
"max_score": 20
},
{
"name": "User action logging",
"description": "Routes download completion and user choice logs through the package logger option (logger.log) within the onNotifyUser/makeUserNotifier path rather than ad-hoc logging outside the package hooks.",
"max_score": 15
}
]
}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