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-8/

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

tile.json