Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't get Profiles working with Chromium 127 #335

Open
sbkg0002 opened this issue Aug 23, 2024 · 0 comments
Open

Can't get Profiles working with Chromium 127 #335

sbkg0002 opened this issue Aug 23, 2024 · 0 comments
Labels
help with app someone needs help with opening a specific application

Comments

@sbkg0002
Copy link

Have you tried creating configuration for this application?
Config:

// ~/.finicky.js

module.exports = {
  defaultBrowser: {
    name: "Chromium",
    profile: "Default",
  },
  rewrite: [
    {
      // Redirect all urls to use https
      match: ({ url }) => url.protocol === "http",
      url: {
        protocol: "https",
      },
    },
  ],
  handlers: [
    {
      match: ["google.com/*", "*.google.com/*"],
      browser: () => {
        finicky.log("opening Firefox");
        return {
          name: "Firefox",
        };
      },
    },
    {
      match: ["gitlab.com/*", "*.gitlab.com/*"],
      browser: () => {
        finicky.log("Opening Profile 1");
        return {
          name: "Chromium",
          profile: "Profile 1",
        };
      },
    },
    {
      match: ["github.com/*", "*.github.com/*"],
      browser: () => {
        finicky.log("Opening Default");
        return {
          name: "Chromium",
          profile: "Default",
        };
      },
    },
  ],
};

Opening chrome://version shows both Default and Profile 1 as profile folder names.

When I open either www.gitlab.com and www.github.com, the log shows the correct selector:

2024-08-23 08:12:33 - Opening Profile 1
2024-08-23 08:12:44 - Opening Default
2024-08-23 08:12:46 - Opening Profile 1

But they all open in the same profile (the one that was opened last).

What am I missing here?

Finicky version v3.4.0 (310)

PS: Thanks for the awesome app!

@sbkg0002 sbkg0002 added the help with app someone needs help with opening a specific application label Aug 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help with app someone needs help with opening a specific application
Projects
None yet
Development

No branches or pull requests

1 participant