diff options
author | sr55 <[email protected]> | 2021-01-29 19:18:39 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2021-01-29 19:18:45 +0000 |
commit | e943cc289a4922a1cfd2d8f5f7faae4f0e1c1f2a (patch) | |
tree | 0064287c0810cca75c0ea3d24b183b7212b0a00c /win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs | |
parent | 818dbfe932eb2c6c484bd09fee04c5748963a1be (diff) |
WinGui: Workaround system breakage when launching URL's. Fixes #3381
Diffstat (limited to 'win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs')
-rw-r--r-- | win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs index f6e6eb958..172637ddc 100644 --- a/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs +++ b/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs @@ -1054,7 +1054,7 @@ namespace HandBrakeWPF.ViewModels {
try
{
- Process.Start("https://handbrake.fr/docs");
+ Process.Start("explorer.exe", "https://handbrake.fr/docs");
}
catch (Exception exc)
{
@@ -1575,7 +1575,7 @@ namespace HandBrakeWPF.ViewModels string directory = Path.GetDirectoryName(this.Destination);
if (!string.IsNullOrEmpty(directory) && Directory.Exists(directory))
{
- Process.Start(directory);
+ Process.Start("explorer.exe", directory);
}
else
{
@@ -1588,7 +1588,7 @@ namespace HandBrakeWPF.ViewModels if (result == MessageBoxResult.Yes)
{
Directory.CreateDirectory(directory);
- Process.Start(directory);
+ Process.Start("explorer.exe", directory);
}
}
}
|