Skip to content
This repository was archived by the owner on Feb 23, 2021. It is now read-only.

Commit 1cc945e

Browse files
committed
Fix windows lnd build
1 parent 8a7e1bb commit 1cc945e

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

assets/script/build_app.sh

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,9 @@ if [ "$(uname)" == "Darwin" ]; then
1111
npm run electron-pack -- --mac
1212
else
1313
# build binaries for windows
14-
cd assets/bin/win32
15-
env GOOS="windows" GOARCH="386" GO111MODULE="on" go get -tags="experimental" -v github.com/lightningnetwork/lnd@$LND_TAG
16-
# enable mainnet neutrino in lnd
1714
cd $GOPATH/src/github.com/lightningnetwork/lnd
18-
git fetch https://github.com/halseth/lnd.git mainnet-neutrino && git cherry-pick d1c23009e00298ed50173fb7cd60bdfb2937d50f
19-
cd $TRAVIS_BUILD_DIR/assets/bin/win32
20-
env GOOS="windows" GOARCH="386" GO111MODULE="on" go build -tags="experimental" -v github.com/lightningnetwork/lnd
15+
GOOS="windows" GOARCH="386" GO111MODULE="on" go build -tags="experimental" -v github.com/lightningnetwork/lnd
16+
cp lnd.exe $TRAVIS_BUILD_DIR/assets/bin/win32/
2117

2218
# build the packages using electron-builder on docker
2319
cd $TRAVIS_BUILD_DIR

0 commit comments

Comments
 (0)