|
|
@ -30,13 +30,13 @@ namespace Avalonia.Dialogs |
|
|
} |
|
|
} |
|
|
else |
|
|
else |
|
|
{ |
|
|
{ |
|
|
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) ? $"{url}" : "", |
|
|
Arguments = RuntimeInformation.IsOSPlatform(OSPlatform.OSX) ? $"{url}" : "", |
|
|
CreateNoWindow = true, |
|
|
CreateNoWindow = true, |
|
|
UseShellExecute = RuntimeInformation.IsOSPlatform(OSPlatform.Windows) |
|
|
UseShellExecute = RuntimeInformation.IsOSPlatform(OSPlatform.Windows) |
|
|
})); |
|
|
}); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|