-
Notifications
You must be signed in to change notification settings - Fork 23
Build it yourself
This wiki explains how you can build the app installers yourself or start the app without using any installers from the release page.
- Git
- Node.js
- Python 2.7.15
- Visual Studio 2017 C++ Build tools (Windows only)
-
Clone the repository
git clone https://github.com/klayveR/xenontrade.git
-
Install dependencies
npm install
If Python 2.7.15 can't be found by node-gyp, try
npm config set python "c:\Python27\python.exe"
-
Build executable
npm run dist-win
The executable will be created in the dist
directory.
If you don't want to create an executable, you can simply run the app with npm start
after cloning the repository.
The Windows version of XenonTrade relies on the executables found in src/resource/executables
. Those are Python scripts packaged into an executable. This is done so users don't have to install Python on their systems in order to run this app properly.
Please note that these executables can not be created on a Linux system, this process only works on Windows.
-
Clone the repository
git clone https://github.com/klayveR/xenontrade.git
-
Install dependencies
npm install
-
Build executables
npm run dist
The executables will be created in the dist
directory. You can change targets by editing the build.linux.target
property in package.json
.
If you don't want to create an executable, you can simply run the app with npm start
after cloning the repository.