largestgithubuseronearth / addwater

Installer for the Firefox GNOME theme
GNU General Public License v3.0
33 stars 2 forks source link

[FEATURE REQUEST] Add cachy-browser support #25

Closed MetotoSakamoto closed 3 weeks ago

MetotoSakamoto commented 1 month ago

cachy-browser, firefox web based browser, isn't supported.

Path is ~/.cachy instead of ~/.mozilla

No flatpak, only pkg.

largestgithubuseronearth commented 1 month ago

Sure. I'll add the path to the list to check.

I'm not seeing a lot of details about the Cachy browser online, and I can't test it at the moment. So you'll need to let me know how it works.

largestgithubuseronearth commented 1 month ago

Okay, you should see the update (v1.1.5) come to Flathub within the next couple days.

MetotoSakamoto commented 3 weeks ago

It's not working, "Invalid data path"

➜ flatpak -u run dev.qwery.AddWater
/home/user/.var/app/dev.qwery.AddWater/cache/add-water already exists. Skipped.
/home/user/.var/app/dev.qwery.AddWater/cache/add-water/downloads already exists. Skipped.
/home/user/.var/app/dev.qwery.AddWater/cache/add-water/logs already exists. Skipped.
All paths initialized.
-------------------------
[INFO] addwater.apps.firefox.firefox_details — 13:50 || Setting Firefox data path: /home/user/.var/app/org.mozilla.firefox/.mozilla/firefox/
[INFO] addwater.apps.firefox.firefox_details — 13:50 || Valid path. Done.
[INFO] addwater.backend — 13:50 || Backend created for Firefox
[INFO] addwater.components.online — 13:50 || Checking for updates...
[INFO] addwater.components.online — 13:50 || no update available
[INFO] addwater.preferences — 13:50 || Preferences Window activated
[INFO] addwater.preferences — 13:55 || Preferences Window activated
[WARNING] addwater.preferences — 13:55 || Autofind paths disabled
[INFO] addwater.preferences — 13:55 || User specified path: /home/user/.cachy
[INFO] addwater.apps.firefox.firefox_details — 13:55 || Setting Firefox data path: /home/user/.cachy
[ERROR] addwater.apps.firefox.firefox_details — 13:55 || Tried to set app_path to non-existant path. Path given: /home/user/.cachy
[ERROR] addwater.preferences — 13:55 || Invalid data path

Local cachy path

➜ tree ~/.cachy
/home/user/.cachy
├── *.default
│   └── times.json
├── installs.ini
├── *.default-release
└── profiles.ini

debug

[DEBUG] root — 13:50 || 
    ------------------------------------------------------------------------
    ------------------------------------------------------------------------
    System Info:
    Add Water — An installer for the GNOME theme for Firefox and Thunderbird
    Version: 1.1.5
    Time (UTC): 2024-10-27 12:50:46.294423+00:00
    GTK version: 4.16.3
    ADW version: 1.6.1
    ------------------------------------------------------------------------

[DEBUG] addwater.apps.firefox.firefox_details — 13:50 || creating new Gsettings reader for Firefox
[DEBUG] addwater.apps.firefox.firefox_details — 13:50 || Set installed version number to 131
[INFO] addwater.apps.firefox.firefox_details — 13:50 || Setting Firefox data path: /home/user/.var/app/org.mozilla.firefox/.mozilla/firefox/
[INFO] addwater.apps.firefox.firefox_details — 13:50 || Valid path. Done.
[DEBUG] addwater.apps.firefox.firefox_details — 13:50 || Preferred profile: p1955mcv.default-release
[DEBUG] addwater.components.online — 13:50 || online manager is now alive
[INFO] addwater.backend — 13:50 || Backend created for Firefox
[DEBUG] addwater.apps.firefox.firefox_details — 13:50 || creating new Gsettings reader for Firefox
[INFO] addwater.components.online — 13:50 || Checking for updates...
[DEBUG] urllib3.connectionpool — 13:50 || Starting new HTTPS connection (1): api.github.com:443
[DEBUG] urllib3.connectionpool — 13:50 || https://api.github.com:443 "GET /repos/rafaelmardojai/firefox-gnome-theme/releases HTTP/1.1" 200 None
[DEBUG] addwater.components.online — 13:50 || Remaining Github API calls for the next hour: 50
[INFO] addwater.components.online — 13:50 || no update available
[DEBUG] addwater.apps.firefox.firefox_details — 13:50 || Set installed version number to 131
[INFO] addwater.preferences — 13:50 || Preferences Window activated
[DEBUG] addwater.apps.firefox.firefox_details — 13:50 || creating new Gsettings reader for Firefox
[INFO] addwater.preferences — 13:55 || Preferences Window activated
[DEBUG] addwater.apps.firefox.firefox_details — 13:55 || creating new Gsettings reader for Firefox
[WARNING] addwater.preferences — 13:55 || Autofind paths disabled
[INFO] addwater.preferences — 13:55 || User specified path: /home/user/.cachy
[INFO] addwater.apps.firefox.firefox_details — 13:55 || Setting Firefox data path: /home/user/.cachy
[ERROR] addwater.apps.firefox.firefox_details — 13:55 || Tried to set app_path to non-existant path. Path given: /home/user/.cachy
[ERROR] addwater.preferences — 13:55 || Invalid data path
largestgithubuseronearth commented 3 weeks ago

My mistake. I forgot to add the path to the default Flatpak permissions. It'll be fixed in a few hours.

largestgithubuseronearth commented 3 weeks ago

Still waiting on Flathub to review the update which could take some time. In the meantime, you can manually add ~/.cachy to the Flatpak permissions via Flatseal.

Closing this now but let me know if the issue still persists or any other problems come up.

MetotoSakamoto commented 3 weeks ago

Updated, It's working now, thank you.