Browse Source

fix(windows): read lnd config from %LOCALAPPDATA%

Lnd stores it's config files in %LOCALAPPDATA% on windows. Ensure that
we use this path in our lookups.

Fix #628
renovate/lint-staged-8.x
Tom Kirkpatrick 6 years ago
parent
commit
b3b3d0f999
No known key found for this signature in database GPG Key ID: 72203A8EC5967EA8
  1. 2
      app/lnd/config/index.js

2
app/lnd/config/index.js

@ -34,7 +34,7 @@ switch (plat) {
lndBin = 'lnd'
break
case 'win32':
lndDataDir = join(process.env.APPDATA, 'Local', 'Lnd')
lndDataDir = join(process.env.LOCALAPPDATA, 'Local', 'Lnd')
lndBin = 'lnd.exe'
break
default:

Loading…
Cancel
Save