Remove deprecated FreeBSD code.

This commit is contained in:
2021-09-14 20:44:06 +01:00
parent 7237bbb4e8
commit 9dc57c2bd8
15 changed files with 122 additions and 2378 deletions

View File

@@ -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;