mirror of
https://github.com/Chia-Network/chia-blockchain.git
synced 2024-09-11 18:58:59 +03:00
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:
parent
1a97afda7b
commit
3f2f084cdc
3
.github/workflows/windows-installer.yml
vendored
3
.github/workflows/windows-installer.yml
vendored
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user