From bba9051b4bab8d3bc6ad91644ed91fccc54e5856 Mon Sep 17 00:00:00 2001 From: Alexander Horner <33007665+alexhorner@users.noreply.github.com> Date: Tue, 6 Dec 2022 23:27:30 +0000 Subject: [PATCH] Fix browser launch --- ntfysh_client/Form1.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ntfysh_client/Form1.cs b/ntfysh_client/Form1.cs index 2d51bf1..664180c 100644 --- a/ntfysh_client/Form1.cs +++ b/ntfysh_client/Form1.cs @@ -2,6 +2,7 @@ using System.Collections.Generic; using System.ComponentModel; using System.Data; +using System.Diagnostics; using System.Drawing; using System.IO; using System.Linq; @@ -204,7 +205,10 @@ namespace ntfysh_client private void ntfyshWebsiteToolStripMenuItem_Click(object sender, EventArgs e) { - System.Diagnostics.Process.Start("https://ntfy.sh/"); + Process.Start(new ProcessStartInfo("https://ntfy.sh/") + { + UseShellExecute = true + }); } private void aboutToolStripMenuItem_Click(object sender, EventArgs e)