From e1dd6432756070153be3fa5f28e3bac8a9172a92 Mon Sep 17 00:00:00 2001 From: MyDrift Date: Thu, 20 Jun 2024 21:54:16 +0200 Subject: [PATCH] fix opening link - switched method to open hyperlinks old: [System.Diagnostics.Process]::Start new: Start-Process --- functions/private/Show-CustomDialog.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/private/Show-CustomDialog.ps1 b/functions/private/Show-CustomDialog.ps1 index 4ad2f793..505c7a8d 100644 --- a/functions/private/Show-CustomDialog.ps1 +++ b/functions/private/Show-CustomDialog.ps1 @@ -205,7 +205,7 @@ $cttLogoPath = @" $hyperlink.Foreground = $foregroundColor $hyperlink.Add_Click({ param($sender, $args) - [System.Diagnostics.Process]::Start($sender.NavigateUri.AbsoluteUri) + Start-Process $sender.NavigateUri.AbsoluteUri }) $hyperlink.Add_MouseEnter({ param($sender, $args)