thewh1teagle / rookie

Load cookies from your web browsers
https://crates.io/crates/rookie
MIT License
207 stars 18 forks source link

[bug] Opera default cookies not found automatically on Linux #38

Closed mahlzahn closed 4 months ago

mahlzahn commented 4 months ago

On a fresh flatpak install (from flathub) this does not work: https://github.com/thewh1teagle/rookie/blob/94ad925f29dbe92dd14c45b0790c66c046cfc2d5/rookie-rs/src/linux/config.rs#L58-L67

The cookies file is accessible under the following path: ~/.var/app/com.opera.Opera/config/opera/Default/Cookies

Same for the version from snap, cookies file under ~/snap/opera/*/.config/opera/Default/Cookies.

Additionally, there are beta and developer versions also for the snap package available, e.g. with cookies files under ~/snap/opera-developer/*/.config/opera-developer/Default/Cookies

And probably also for the system-wide installed opera browsers … Thus, it looks like to be fixed easily ;)