From 5a062715dd3d2965687cd37bf50978c89e2a1598 Mon Sep 17 00:00:00 2001 From: Tom Kirkpatrick Date: Tue, 5 Jun 2018 20:54:18 +0200 Subject: [PATCH] fix(build): include lnd resources in builds Ensure that the lnd binary and rpc.proto files are properly included in the final electron build, regardless of the build platform. --- package.json | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 4a73ac7a..6f85d226 100644 --- a/package.json +++ b/package.json @@ -85,10 +85,11 @@ "output": "release" }, "extraResources": [ - "./rpc.proto", + "resources/rpc.proto", { - "from": "./resources/bin/win32/lnd.exe", - "to": "./bin/lnd.exe" + "from": "resources/bin/${platform}", + "to": "bin", + "filter": [ "lnd*" ] } ] },