mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Remove deprecated FreeBSD code.
This commit is contained in:
@@ -153,15 +153,10 @@ Logo and art:
|
||||
process.StartInfo.FileName = "cmd";
|
||||
process.StartInfo.Arguments = $"/c start {process.StartInfo.Arguments.Replace("&", "^&")}";
|
||||
}
|
||||
else if(RuntimeInformation.IsOSPlatform(OSPlatform.FreeBSD) ||
|
||||
RuntimeInformation.IsOSPlatform(OSPlatform.Linux))
|
||||
{
|
||||
else if(RuntimeInformation.IsOSPlatform(OSPlatform.Linux))
|
||||
process.StartInfo.FileName = "xdg-open";
|
||||
}
|
||||
else if(RuntimeInformation.IsOSPlatform(OSPlatform.OSX))
|
||||
{
|
||||
process.StartInfo.FileName = "open";
|
||||
}
|
||||
else
|
||||
return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user