johnste / finicky

A macOS app for customizing which browser to start

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Finicky is closing automatically after clicking any link

adrianoresende opened this issue · comments

Describe the bug
Once, it worked fine with the new version of macOS Sonoma, but one day, I restarted the Macbook, and now it is closing automatically.
I deleted and reinstalled the app, which is not solved; does the app have any cache on some folder? Maybe deleting it can solve it.

I tried these ways:

  1. deleting the config on ~/
  2. reinstalling
  3. change the browser default on the preference system

Hi there. I'm not a programmer or anything, but have been using this little app for a while. My mac also got updated with Sonoma and I had that issue also. Maybe you've tried these steps, but what I had to do is copy the config file (.js) out. Set finicky to be the default browser in system settings. And then I had to do a create new... and then copy the original script into the new file and save. So far it has solved my issue, hope this helps!!

Hi there. I'm not a programmer or anything, but have been using this little app for a while. My mac also got updated with Sonoma and I had that issue also. Maybe you've tried these steps, but what I had to do is copy the config file (.js) out. Set finicky to be the default browser in system settings. And then I had to do a create new... and then copy the original script into the new file and save. So far it has solved my issue, hope this helps!!

But I deleted the config, and it not is creating anymore; I don't find it on ~/
I don't know how I discovered the cache (exists?).

hmmm... yeah, I'm just a dumb user and just use the app. My config file is simple. What I just tested is that the xxx.js file loaded is where it looks at it. I could be wrong, I don't think there's a cache. So, if I load kenny.js as the new file. and then you click on Config-Reveal in finder, it will open the folder where kenny.js is. and if I move kenny.js somewhere else, Config-Reveal in Finder opens the new location. So to me, it seems like kenny.js needs to exist somewhere locally on your mac. These are my contents.... i hope it helps.

// Use https://finicky-kickstart.now.sh to generate basic configuration
// Learn more about configuration options: https://github.com/johnste/finicky/wiki/Configuration

module.exports = {
    defaultBrowser: "Firefox",
    handlers: [
      {
        // Open google.com and *.google.com urls in Google Chrome
        match: [
          "google.com*", // match google.com urls
          finicky.matchDomains(/.*\.google.com/) // use helper function to match on domain only
        ],
        browser: "Google Chrome"
      },
      {
        // You can get the path of the process that triggered Finicky (EXPERIMENTAL)
        match: ({ opener }) =>
        opener.path && opener.path.startsWith("/System/Applications/Mail.app"),
        browser: "Google Chrome"
      },
      {
        // You can get the path of the process that triggered Finicky (EXPERIMENTAL)
        match: ({ opener }) =>
        opener.path && opener.path.startsWith("/System/Applications/Messages.app"),
        browser: "Google Chrome"
      },
      {
        // You can get the path of the process that triggered Finicky (EXPERIMENTAL)
        match: ({ opener }) =>
        opener.path && opener.path.startsWith("/Applications/Microsoft Outlook.app"),
        browser: "Firefox"
      },
    ]
  }

I appreciate your help.
The biggest problem is that the icon doesn't appear on the menu bar because my config was hiding the icon. I'm trying to show the icon without config, and I changed the code inside the app, but it doesn't work.
I will try to uninstall with any app that removes any relation to the files.

🚨 Update: With App Cleaner, it doesn't work. I don't know how to show the icon anymore, or it's a bug that doesn't create the config automatically.

May I suggest to use the previous version ? Had bugs with the latest but with 3.3.1 everything works as expected in Sonoma as well !

May I suggest to use the previous version ? Had bugs with the latest but with 3.3.1 everything works as expected in Sonoma as well !

Thank you for suggestion.
Unfortunately with version 3.3.1 doesn't work, same behavior.

After I enabled the notification after reinstalling, that may be why it doesn't work.

image

But the file exists.
How do I change the path, to default? Changing to ~/

@guyindc

When I removed the dot, the error persisted, but with the path changed, without the dot.
So, I tried to move to another folder, and the path on the error was changed.

It's bizarre.

And I moved to ~/, and it worked. 😯🤷‍♂️