A drop-in module that adds autoUpdating capabilities to Electron apps
89
{
"context": "Evaluates whether the solution uses the update-electron-app package to enforce strict configuration validation for auto-updates, including repo formatting, HTTPS endpoints, interval bounds, and logger requirements. Checks focus on invoking the library entrypoints and letting its built-in assertions guard misconfiguration.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Library entrypoint",
"description": "Calls update-electron-app as the primary initializer so its internal validation executes instead of reimplementing checks manually.",
"max_score": 30
},
{
"name": "Repo validation",
"description": "Supplies repo values to update-electron-app (via repo or UpdateSourceType.ElectronPublicUpdateService) in owner/repo format and relies on its assertion to reject missing slashes.",
"max_score": 20
},
{
"name": "HTTPS enforcement",
"description": "Passes host/baseUrl options through update-electron-app so its HTTPS guard (isHttpsUrl assertions) rejects non-https endpoints for either service or static feeds.",
"max_score": 20
},
{
"name": "Interval guard",
"description": "Uses the updateInterval option with a leading-number string that satisfies update-electron-app's ms-based range check (>= five minutes and < 2^31).",
"max_score": 15
},
{
"name": "Logger shape",
"description": "Provides a logger object containing a log function to update-electron-app, triggering its logger assertion to fail when log is absent.",
"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