Skip to content

Repository files navigation

pbx-client

An Electron SIP client - React and TypeScript

Install

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.js

Verify — 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.

Development

$ npm run dev

Build

# For windows
$ npm run build:win

# For macOS
$ npm run build:mac

# For Linux
$ npm run build:linux

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages