johnste / finicky

A macOS app for customizing which browser to start

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ms edge multiple profile

mariomare22 opened this issue · comments

Describe the bug
I am trying to configure finicky to work with multiple profiles with ms Edge I checked and there are two profiles: Default and Profile 1.

Screenshot 2023-05-22 at 13 13 15
2023-05-22 13:07:28 - Configuration: Error: unknown key profile at module.exports.handlers[0].profile
unknown key profile at module.exports.handlers[1].profile
unknown key profile at module.exports.handlers[2].profile
unknown key profile at module.exports.handlers[3].profile
unknown key profile at module.exports.handlers[4].profile
unknown key profile at module.exports.handlers[5].profile

Your configuration
Please add a link to or paste the relevant parts of your configuration here

module.exports = {
  defaultBrowser: "/Applications/Microsoft Edge.app",
  handlers: [
    {
      // Open any url including the string "workplace" in Edge
      match: /microsoft.com/,
      browser: "/Applications/Microsoft Edge.app",
      profile: "Default", 
    },
 .........

To Reproduce
Steps to reproduce the behavior:

  1. Change config
  2. Reload
  3. See error

It's a configuration problem. It should be written as:

browser: { 
    name: "Google Chrome",
    profile: "Default", 
}

I.e. profile must be added to the browser object, not as its sibling.

Thanks that did the trick!