Browse Source

add parenthesis to fix OSX

pull/3220/head
Jumar Macato 7 years ago
parent
commit
529f5c83f2
No known key found for this signature in database GPG Key ID: B19884DAC3A5BF3F
  1. 4
      src/Avalonia.Dialogs/AboutAvaloniaDialog.xaml.cs

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

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

Loading…
Cancel
Save