Cleanup dual target and mono code

Fixes #1893
Fixes #1808
This commit is contained in:
Qstick
2022-10-15 20:26:01 -05:00
parent 3481168df5
commit bcc8370d05
24 changed files with 29 additions and 309 deletions
@@ -377,11 +377,6 @@ namespace NzbDrone.Common.Processes
private (string Path, string Args) GetPathAndArgs(string path, string args)
{
if (PlatformInfo.IsMono && path.EndsWith(".exe", StringComparison.InvariantCultureIgnoreCase))
{
return ("mono", $"--debug {path} {args}");
}
if (OsInfo.IsWindows && path.EndsWith(".bat", StringComparison.InvariantCultureIgnoreCase))
{
return ("cmd.exe", $"/c {path} {args}");