CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/npm-update-electron-app

A drop-in module that adds autoUpdating capabilities to Electron apps

89

1.08x
Overview
Eval results
Files

rubric.jsonevals/scenario-5/

{
  "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-app

tile.json