From f2d5eb406336058743fc7701cd3964d9bec49f10 Mon Sep 17 00:00:00 2001 From: Elihpmap Date: Thu, 28 Nov 2024 18:47:41 +0100 Subject: [PATCH] Fix for the 10 sec delay when opening links with notif enabled on Win10 --- BrowseRouter/BrowserService.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/BrowseRouter/BrowserService.cs b/BrowseRouter/BrowserService.cs index 2796905..3a1e0b0 100644 --- a/BrowseRouter/BrowserService.cs +++ b/BrowseRouter/BrowserService.cs @@ -38,9 +38,9 @@ public async Task LaunchAsync(string url, string windowTitle) Log.Write($"Launching {path} with args \"{args} {uri.OriginalString}\""); string name = GetAppName(path); - await notifier.NotifyAsync($"Opening {name}", $"URL: {url}"); - Process.Start(path, $"{args} \"{uri.OriginalString}\""); + + await notifier.NotifyAsync($"Opened {name}", $"URL: {url}"); } catch (Exception e) {