blob: b67a6024de975ad45bb16f4e19f65bcb7e4bcfc2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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%
|