-
Notifications
You must be signed in to change notification settings - Fork 1
Compiling (Post v1.2.1)
Markus edited this page Nov 10, 2020
·
3 revisions
- Node.js version >= 12.14.0
- Git
- CMake version >= 3.15
- Npm version >= 6.14 (Some older versions may also work)
-
electron-builder installed globally
(run
npm install -g electron-builder
) version = 22.9.1 (this one for sure works, any other versions may work as well) -
cmake-js installed globally
(run
npm install -g cmake-js
) version = 6.1.0 (this one for sure works, any other versions may work as well) - chocolatey for installing boost
-
Boost installed using chocolatey
(run
choco install -y boost-msvc-14.1 --version 1.67.0
in an elevated cmd) version >= 1.67.0
- Clone autobet:
git clone https://github.com/MarkusJx/autobet
- Change into autobet
cd autobet
For newer versions of autobet, run these steps in a command line with node.js, npm, git, cmake and electron-builder enabled in the autobet directory:
-
npm install
to install all required files -
npm run-script build
to build the native library
To package autobet, run:
npm run-script pack
To test and run autobet, simply execute:
npm start
(This will also run the build step, sou you don't have to run it yourself)
Autobet. © MarkusJx 2022. Licensed under the MIT License.