Skip to content

Commit

Permalink
fix opening link
Browse files Browse the repository at this point in the history
- switched method to open hyperlinks
old: [System.Diagnostics.Process]::Start
new: Start-Process
  • Loading branch information
MyDrift-user committed Jun 20, 2024
1 parent f7263be commit e1dd643
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions/private/Show-CustomDialog.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit e1dd643

Please sign in to comment.