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
parent
commit
938b5ed18f
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/Avalonia.Dialogs/AboutAvaloniaDialog.xaml.cs

2
src/Avalonia.Dialogs/AboutAvaloniaDialog.xaml.cs

@ -29,7 +29,7 @@ namespace Avalonia.Dialogs
using (Process process = Process.Start(new ProcessStartInfo
{
FileName = RuntimeInformation.IsOSPlatform(OSPlatform.Windows) ? url : "open",
Arguments = RuntimeInformation.IsOSPlatform(OSPlatform.OSX) ? $"-e {url}" : "",
Arguments = RuntimeInformation.IsOSPlatform(OSPlatform.OSX) ? $"{url}" : "",
CreateNoWindow = true,
UseShellExecute = RuntimeInformation.IsOSPlatform(OSPlatform.Windows)
}));

Loading…
Cancel
Save