Skip to content

[chromium-bookmarks] Flatpak Support #250

@JdotCarver

Description

@JdotCarver

Extension name

chromium-bookmarks

Description

The code in search-bookmarks.js does not look for Flatpak installs of browsers.

So I did a hacky addition to it

Was : co=async o=>{let t=[{path:o,depth:1}],s=[];

Is now : co=async o=>{let t=[{path:o,depth:1},{path:h.join(P.homedir(),'.var/app/com.brave.Browser/config'),depth:1},{path:h.join(P.homedir(),'.var/app/com.google.Chrome/config'),depth:1},{path:h.join(P.homedir(),'org.chromium.Chromium/config'),depth:1},{path:h.join(P.homedir(),'org.vivaldi.Vivaldi/config'),depth:1},{path:h.join(P.homedir(),'com.microsoft.Edge/config'),depth:1}],s=[];

This properly makes the extension see Brave Flatpak bookmarks at least. Will need testing for the others.

Steps to reproduce

No response

Vicinae version

0.20.13

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions