Want to join us? Come to our Telegram group and chat with fellow POP Stars.
$ git clone https://github.com/popnetwork/popnetwork-masternode
$ cd popnetwork-masternode
$ npm install
$ npm start
Restart the app automatically every time code changes. Useful during development.
$ npm run watch
Builds app binaries for Mac, Linux, and Windows.
$ npm run package
To build for one platform:
$ npm run package -- [platform] [options]
Where [platform]
is darwin
, linux
, win32
, or all
(default).
The following optional arguments are available:
--sign
- Sign the application (Mac, Windows)--package=[type]
- Package single output type.deb
- Debian packagerpm
- RedHat packagezip
- Linux zip filedmg
- Mac disk imageexe
- Windows installerportable
- Windows portable appall
- All platforms (default)
Note: Even with the --package
option, the auto-update files (.nupkg for Windows,
-darwin.zip for Mac) will always be produced.
The Windows app can be packaged from any platform.
Note: Windows code signing only works from Windows, for now.
Note: To package the Windows app from non-Windows platforms, Wine and Mono need to be installed. For example on Mac, first install XQuartz, then run:
brew install wine mono
(Requires the Homebrew package manager.)
The Mac app can only be packaged from macOS.
The Linux app can be packaged from any platform.
If packaging from Mac, install system dependencies with Homebrew by running:
npm run install-system-deps
Electron (Framework to make native apps for Windows, OSX and Linux in Javascript): https://electronjs.org/docs/tutorial/quick-start
React.js (Framework to work with Frontend UI): https://reactjs.org/docs/getting-started.html
Material UI (React components that implement Google's Material Design.): https://material-ui.com/getting-started/installation
popnetwork-masternode
is released under the terms of the MIT license.