Browse Source

fix(sign): sign builds

renovate/lint-staged-8.x
Jack Mallers 7 years ago
parent
commit
4c1b627179
  1. 6
      app/main.dev.js
  2. 7
      package.json

6
app/main.dev.js

@ -127,7 +127,11 @@ const sendLndSynced = () => {
// Starts the LND node
const startLnd = () => {
const lndPath = path.join(__dirname, '..', 'resources', 'bin', plat, plat === 'win32' ? 'lnd.exe' : 'lnd')
let lndPath
process.env.NODE_ENV === 'development' ?
lndPath = path.join(__dirname, '..', 'resources', 'bin', plat, plat === 'win32' ? 'lnd.exe' : 'lnd')
:
lndPath = path.join(__dirname, '..', 'bin', plat === 'win32' ? 'lnd.exe' : 'lnd')
const neutrino = spawn(lndPath,
[

7
package.json

@ -1,7 +1,7 @@
{
"name": "zap-desktop",
"productName": "ZapDesktop",
"version": "0.0.1",
"version": "0.1.0",
"description": "desktop application for the lightning network",
"scripts": {
"build": "concurrently \"npm run build-main\" \"npm run build-renderer\"",
@ -80,7 +80,10 @@
"output": "release"
},
"extraResources": [
"**/resources/bin/darwin/lnd"
{
"from": "./resources/bin/darwin/lnd",
"to": "./bin/lnd"
}
]
},
"repository": {

Loading…
Cancel
Save