A drop-in module that adds autoUpdating capabilities to Electron apps
89
{
"context": "Evaluates use of update-electron-app to gate auto-update initialization to packaged, supported environments and defer setup until the Electron app is ready.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Uses initializer",
"description": "Imports and calls updateElectronApp from update-electron-app instead of reimplementing update logic.",
"max_score": 10
},
{
"name": "Packaged guard",
"description": "Checks app.isPackaged (or equivalent) before invoking updateElectronApp, skipping the call and returning the not-packaged reason when false.",
"max_score": 20
},
{
"name": "Platform allowlist",
"description": "Allows updateElectronApp only when the platform is darwin or win32; blocks others such as linux with the unsupported-platform reason.",
"max_score": 20
},
{
"name": "Ready deferral",
"description": "Awaits app.whenReady() before calling updateElectronApp so initialization aligns with the package's ready-time safeguards.",
"max_score": 20
},
{
"name": "No call when blocked",
"description": "Ensures updateElectronApp is never invoked when packaged or platform checks fail, preventing unintended update attempts.",
"max_score": 15
},
{
"name": "Single invocation",
"description": "When conditions are met, calls updateElectronApp exactly once and relies on its internal scheduling instead of duplicating polling logic.",
"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