Skip to content

Opening with Chrome App Shortcuts causing infinite loop / not working #153

@skoshy

Description

@skoshy

If I try specifying a direct path to a Chrome App Shortcut (generated through Chrome Menu -> More Tools -> Create application shortcut), it causes an infinite loop of opening the window and doesn't actually go to the correct URL within the app as well.

Google Meet is a good example; if you have a Chrome App of https://meet.google.com and try clicking a Google Meet link from somewhere else, this behavior occurs.

Here's my config:

const googleMeetApp = {
  browser: {
    name: '/Users/xxxxxx/Applications/Chrome Apps.localized/Meet.app',
    appType: 'appPath',
  },
}

module.exports = {
  defaultBrowser: "Google Chrome",
  rewrite: [
    {
      // Redirect all urls to use https
      match: ({ url }) => url.protocol === "http",
      url: { protocol: "https" }
    }
  ],
  handlers: [
    {
      match: finicky.matchHostnames(['meet.google.com']),
      ...googleMeetApp,
    },
    // ...
  ]
};

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions