Fix Windows build

This commit is contained in:
Igor Gassmann 2017-11-27 08:52:11 -03:00 committed by Jeremy Kauffman
parent a8529ea8b7
commit d2317b39be
2 changed files with 2 additions and 5 deletions

View file

@ -63,11 +63,10 @@ exit
2. Open command prompt in the root of the project and run the following: 2. Open command prompt in the root of the project and run the following:
``` ```
python -m pip install -r build\requirements.txt python -m pip install -r build\requirements.txt
python build\set_version.py
npm install -g yarn npm install -g yarn
yarn install yarn install
``` ```
3. Change directory to `app` and run the following; 3. Change directory to `src\main` and run the following:
``` ```
yarn install yarn install
node_modules\.bin\electron-rebuild node_modules\.bin\electron-rebuild

View file

@ -1,6 +1,4 @@
pip install -r build\requirements.txt pip install -r build\requirements.txt
python build\set_version.py
# Get the latest stable version of Node.js or io.js # Get the latest stable version of Node.js or io.js
Install-Product node $env:nodejs_version Install-Product node $env:nodejs_version
@ -19,7 +17,7 @@ cd ..
# build ui # build ui
cd ui cd src\renderer
yarn install yarn install
npm rebuild node-sass npm rebuild node-sass
node_modules\.bin\node-sass --output dist\css --sourcemap=none scss\ node_modules\.bin\node-sass --output dist\css --sourcemap=none scss\