louisabraham / ffpass

Import and Export passwords for Firefox Quantum 🔑
MIT License
380 stars 39 forks source link

Fix guessDir function #56

Closed ghost closed 3 years ago

ghost commented 3 years ago

Updated guessDir function to find the profile.

Previous method tried to read the ini file which could change with each release. The new method is just to look for the 'logins.json' file and if it exists that's the correct profile.

Resolves : https://github.com/louisabraham/ffpass/issues/54

louisabraham commented 3 years ago

Nice! It looks like the commit from #55 is included. I'll probably wait until we bring back support for older firefox versions in #55 before merging this one.

ghost commented 3 years ago

Whoops, it wasn't meant to be included. I've rebased the "profile" branch without the encryption update.

louisabraham commented 3 years ago

Very clean code, thanks!!!