One flag on the Stack scaffolder wraps your site in Electron apps for macOS, Windows and Linux. The apps load your live site, so every deploy reaches them without a new installer.
Once UI Stack can now ship your app to the desktop. Add the desktop target when you scaffold, and you get an Electron app for macOS, Windows and Linux around the site you already deploy.
One flag
The scaffolder adds the Electron app and its build config next to your site. Run npm run desktop:build on each system you ship to: it makes a DMG on macOS, an installer on Windows and an AppImage on Linux.
Your live site, in a window
The app does not carry a second copy of your site. It opens the URL you passed, so sign-in, API routes and data run on your server exactly as they do in the browser. When you deploy, every installed app shows the new version the next time it loads. There is no new installer to send out.The only page inside the app is a small offline page. If there is no connection, people see it instead of an error, with a button to try again.
Because of that, the app itself is tiny: about 8 KB of your own code on top of Electron.
Tested on real installers
Stack's CI builds the macOS and Windows installers, installs each one, launches the app and takes a screenshot of it loading the Stack demo. This is the Windows app from one of those runs:
Before you ship
Installers are unsigned by default, so macOS and Windows will warn people the first time they open the app. Add your signing certificates in electron-builder.yml before you hand the app to customers. The desktop apps guide in the Stack docs covers signing, icons and the rest.