-
-
Notifications
You must be signed in to change notification settings - Fork 180
Closed
Labels
Description
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,
},
// ...
]
};hermes85pl