Increase chiapos stack size with editbin.exe (#250)

* use mdbuild to path for editbin
* full path to editbin.exe
* because of course it's Start-Process...
This commit is contained in:
Gene Hoffman 2020-05-27 18:43:02 -07:00 committed by wjblanke
parent 1a97afda7b
commit 3f2f084cdc
2 changed files with 8 additions and 1 deletions

View File

@ -17,6 +17,9 @@ jobs:
name: Install Python 3.7
with:
python-version: "3.7"
- name: Add msbuild to PATH
uses: microsoft/setup-msbuild@v1.0.0
- name: Build Windows installer with build_scripts\build_windows.ps1
working-directory: ${{ github.workspace }}\build_scripts

View File

@ -1,4 +1,5 @@
cd ..
mkdir build_scripts\win_build
cd build_scripts\win_build
@ -63,7 +64,10 @@ Write-Output " ---";
Write-Output "Electron package Windows Installer";
Write-Output " ---";
npm run build
editbin /STACK:8000000 daemon/create_plots.exe
Write-Output "Increase the stack for chiapos";
Start-Process "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.25.28610\bin\HostX64\x64\editbin.exe" -ArgumentList "/STACK:8000000 daemon/create_plots.exe" -Wait
electron-packager . Chia-0.1.6 --asar.unpack="**/daemon/**" --overwrite --icon=./src/assets/img/chia.ico
node winstaller.js