diff options
Diffstat (limited to 'deploy/windows/build.bat')
-rw-r--r-- | deploy/windows/build.bat | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/deploy/windows/build.bat b/deploy/windows/build.bat new file mode 100644 index 000000000..b67a6024d --- /dev/null +++ b/deploy/windows/build.bat @@ -0,0 +1,39 @@ +@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% |