An Electron SIP client - React and TypeScript
Dependencies are installed with --ignore-scripts, so no package can run
arbitrary code on install. That also skips Electron's own postinstall, which is
what downloads the ~124 MB runtime binary — without it npm run dev fails with
Electron failed to install correctly. Fetch it as an explicit second step:
$ npm install --ignore-scripts
$ node node_modules/electron/install.jsVerify — this should print the path to the Electron binary:
$ node -p "require('electron')"The postinstall script in package.json (electron-builder install-app-deps)
rebuilds native modules against Electron's ABI. There are none in the tree today,
so skipping it is harmless; run it by hand if a native dependency is ever added.
$ npm run dev# For windows
$ npm run build:win
# For macOS
$ npm run build:mac
# For Linux
$ npm run build:linux