From aec376a09a5588584c75e8e864253f78752081e5 Mon Sep 17 00:00:00 2001 From: Lorenzo Blasa Date: Thu, 31 Aug 2023 06:04:32 -0700 Subject: [PATCH] Open an existing window if there is one Summary: Before this change, opening deep-links or importing files would open new windows. Instead, just use an existing window if there is one. Documentation: https://developer.chrome.com/docs/web-platform/launch-handler/ Reviewed By: lawrencelomax Differential Revision: D48865950 fbshipit-source-id: 80c3fb58f1fcc3b8ace00fd9241bf1e374c8345e --- desktop/static/manifest.template.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/desktop/static/manifest.template.json b/desktop/static/manifest.template.json index a30c998cc..adc08aacf 100644 --- a/desktop/static/manifest.template.json +++ b/desktop/static/manifest.template.json @@ -15,6 +15,9 @@ "sizes": "256x256" } ], + "launch_handler": { + "client_mode": "focus-existing" + }, "file_handlers": [ { "action": "/",