finicky icon indicating copy to clipboard operation
finicky copied to clipboard

ms edge multiple profile

Open mariomare22 opened this issue 2 years ago • 1 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

mariomare22 avatar May 22 '23 11:05 mariomare22

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.

azhuchkov avatar Nov 02 '23 12:11 azhuchkov

Thanks that did the trick!

mariomare22 avatar Feb 19 '24 09:02 mariomare22