Don't use Electron to build a desktop app - use Tauri instead. https://tauri.studio/en/ Alternative: https://neutralino.js.org/