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

Finicky is closing automatically after clicking any link #318

Closed
adrianoresende opened this issue Oct 4, 2023 · 10 comments
Closed

Finicky is closing automatically after clicking any link #318

adrianoresende opened this issue Oct 4, 2023 · 10 comments
Labels

Comments

@adrianoresende
Copy link

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
@ghost
Copy link

ghost commented Oct 4, 2023

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!!

@adrianoresende
Copy link
Author

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?).

@ghost
Copy link

ghost commented Oct 4, 2023

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"
      },
    ]
  }

@adrianoresende
Copy link
Author

adrianoresende commented Oct 4, 2023

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.

@jbleuzen
Copy link

jbleuzen commented Oct 4, 2023

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 !

@adrianoresende
Copy link
Author

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.

@adrianoresende
Copy link
Author

adrianoresende commented Oct 4, 2023

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 ~/

@ghost
Copy link

ghost commented Oct 5, 2023 via email

@adrianoresende
Copy link
Author

adrianoresende commented Oct 5, 2023

@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. 😯🤷‍♂️

@ghost
Copy link

ghost commented Oct 5, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants