Browse Source
Merge pull request #3520 from TyrenDe/FixOpenBrowserIssueOnSomeOSXMachines-3519
Fix issue #3519 where the open text file dialog would show on some machines
pull/3637/head
Steven Kirk
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
src/Avalonia.Dialogs/AboutAvaloniaDialog.xaml.cs
|
|
@ -29,7 +29,7 @@ namespace Avalonia.Dialogs |
|
|
using (Process process = Process.Start(new ProcessStartInfo |
|
|
using (Process process = Process.Start(new ProcessStartInfo |
|
|
{ |
|
|
{ |
|
|
FileName = RuntimeInformation.IsOSPlatform(OSPlatform.Windows) ? url : "open", |
|
|
FileName = RuntimeInformation.IsOSPlatform(OSPlatform.Windows) ? url : "open", |
|
|
Arguments = RuntimeInformation.IsOSPlatform(OSPlatform.OSX) ? $"-e {url}" : "", |
|
|
Arguments = RuntimeInformation.IsOSPlatform(OSPlatform.OSX) ? $"{url}" : "", |
|
|
CreateNoWindow = true, |
|
|
CreateNoWindow = true, |
|
|
UseShellExecute = RuntimeInformation.IsOSPlatform(OSPlatform.Windows) |
|
|
UseShellExecute = RuntimeInformation.IsOSPlatform(OSPlatform.Windows) |
|
|
})); |
|
|
})); |
|
|
|