Closed hackjutsu closed 4 years ago
Command/Ctrl + ,
Experiment shows that app.getPath('home') used by Lepton to find .leptonrc doesn't point to ~/.leptonrc directory, it points to ~/snap/lepton/current/.leptonrc instead.
app.getPath('home')
.leptonrc
~/.leptonrc
~/snap/lepton/current/.leptonrc
https://github.com/hackjutsu/Lepton/blob/master/main.js#L239-L240
Environment info
Command/Ctrl + ,
): 1.8.0Description of the problem / feature request / question:
Experiment shows that
app.getPath('home')
used by Lepton to find.leptonrc
doesn't point to~/.leptonrc
directory, it points to~/snap/lepton/current/.leptonrc
instead.https://github.com/hackjutsu/Lepton/blob/master/main.js#L239-L240