The BrightScript Simulator Desktop App project is being developed using the Electron framework, and it also uses yarn
for dependency management.
To build the project you will need NodeJS
, so you'll need to install that first.
Once that's ready, install yarn. Installing it with npm
is probably the simplest:
$ npm install -g yarn
-
Clone this repo:
$ git clone https://github.com/lvcabral/brs-desktop.git
-
Install dependencies:
$ yarn install # or just `yarn`
If you want to run the application without packaging it, for debugging, just execute:
$ yarn start
This project uses Webpack to build the source code into packages for release, and uses Electron Builder to generate the redistributable installers for each platform. The ideal way to generate the installers is to run it on each native OS. The files are generated at the dist
folder under the repository root.
Below the list of available build commands for each platform:
Run from macOS terminal
:
$ yarn dist
Run from Windows command
or PowerShell
prompt:
C:\git\brs-desktop> yarn dist-win
Run from Linux terminal
:
$ yarn dist-linux32
Run from Linux terminal
:
$ yarn dist-linux64
Run from Linux terminal
:
$ yarn dist-deb64