CLI
July 21, 2026
  • Add app migration to ToDesktop.

    An existing Electron app can now move its installed user base over to a ToDesktop app by shipping one final update through its current update channel. Declare the migration with todesktop.init({ migration: { targetAppId: "your-todesktop-app-id" } }) (or a todesktop-migration.json file in the app's resources); the installed app then updates in place into the ToDesktop build and updates normally from then on. Supported on Windows, macOS (same signing team), and Linux (AppImage), with any build tooling — including Electron Forge. Apps originally installed with Squirrel.Windows can have the legacy installation cleaned up automatically via windows.migrationSource.squirrelPackageName in todesktop.json. See the @todesktop/runtime README for the full migration guide.

  • Add CLI support for following build logs. todesktop build --follow-logs streams the build server logs live while a build runs, and a new todesktop logs [id] [--latest] [--platform] command streams logs for a running build or prints them for a finished one. Build server logs are captured and stored (with secret redaction) so they can be followed from the CLI, and the getAzureLogs callable was renamed to getBuildLogs to reflect that it no longer serves only Azure logs.