Browse Source

fix(sync style)

renovate/lint-staged-8.x
Jack Mallers 7 years ago
parent
commit
7808493b4a
  1. 2
      app/components/LndSyncing/LndSyncing.scss
  2. 5
      app/main.dev.js
  3. 10
      package.json
  4. BIN
      resources/bin/darwin/lnd
  5. BIN
      resources/bin/win32/lnd.exe

2
app/components/LndSyncing/LndSyncing.scss

@ -17,7 +17,7 @@
position: absolute;
min-width: 100px;
top: calc(50% - 30px);
left: calc(50% - 50px);
left: calc(50% - 48px);
}
h1 {

5
app/main.dev.js

@ -111,6 +111,8 @@ app.on('ready', async () => {
// No LND process was found
if (!results.length) {
// Let the front end know we have started syncing LND
syncing = true
// Run a bash script that checks for the LND folder and generates Node.js compatible certs
console.log('CHECKING/GENERATING CERTS')
exec(`sh ${path.join(__dirname, '..', 'resources', 'scripts', `${plat}_generate_certs.sh`)}`)
@ -133,9 +135,6 @@ app.on('ready', async () => {
.on('error', error => console.log(`lnd error: ${error}`))
.on('close', code => console.log(`lnd shutting down ${code}`))
// Let the front end know we have started syncing LND
syncing = true
// Listen for when neutrino prints out data
neutrino.stdout.on('data', data => {
// Data stored in variable line, log line to the console

10
package.json

@ -1,6 +1,6 @@
{
"name": "zap-desktop",
"productName": "zap-desktop",
"productName": "ZapDesktop",
"version": "0.0.1",
"description": "desktop application for the lightning network",
"scripts": {
@ -32,8 +32,8 @@
},
"browserslist": "electron 1.6",
"build": {
"productName": "Zap",
"appId": "org.develar.Zap",
"productName": "ZapDesktop",
"appId": "org.develar.ZapDesktop",
"files": [
"dist/",
"resources/",
@ -80,8 +80,8 @@
"**/resources/bin/linux/lnd",
"**/resources/bin/win32/lnd",
"**/resources/scripts/*",
"**/resources/cloudbolt.svg",
"**/resources/zap_2.svg"
"**/resources/zap_2.svg",
"**/resources/cloudbolt.svg"
]
},
"repository": {

BIN
resources/bin/darwin/lnd

Binary file not shown.

BIN
resources/bin/win32/lnd.exe

Binary file not shown.
Loading…
Cancel
Save