Official Go implementation of the Ethereum protocol
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
go-ethereum/deploy/windows/build.bat

39 lines
1.0 KiB

@ECHO off
set origin=%GOPATH%\src\github.com\ethereum\go-ethereum\cmd\mist
set ethgo=%GOPATH%\src\github.com\ethereum\eth-go
set target=%GOPATH%\pkg\ethereum\
set qtPath=C:\Qt\Qt5.2.1\5.2.1\mingw48_32
set mingwPath=C:\MingW\
ECHO "Setting up Windows binaries"
ECHO "Copying assets from %GOPATH%"
xcopy /s %origin%\assets %target%assets
ECHO "Copying mnemonic words"
copy %ethgo%\ethcrypto\mnemonic.words.lst %target%
ECHO "Compiling Mist"
cd %origin%
go install
ECHO "Copying to source folder"
copy %GOPATH%\bin\mist.exe %target%
ECHO "Running QT Deploy"
cd %target%
windeployqt --webkit2 --qmldir=assets\qml\ .
echo "Copy missing DLLs & Others"
copy %qtPath%\bin\QtWebProcess.exe %target%
copy %qtPath%\bin\Qt5MultimediaWidgets.dll %target%
copy %qtPath%\bin\Qt5PrintSupport.dll %target%
copy %qtPath%\bin\Qt5OpenGL.dll %target%
copy %qtPath%\bin\Qt5WebKitWidgets.dll %target%
copy %qtPath%\bin\libgcc_s_dw2-1.dll %target%
copy "%qtPath%\bin\libstdc++-6.dll" %target%
copy %qtPath%\bin\libwinpthread-1.dll %target%
copy %mingwPath%\bin\libgmp-10.dll %target%