mirror of
https://github.com/Jackett/Jackett
synced 2025-01-03 21:57:49 +00:00
Remove System.Runtime.InteropServices.RuntimeInformation.dll from Mono build
https://github.com/Jackett/Jackett/issues/3547
This commit is contained in:
parent
3da6e4ca1b
commit
31ae08544f
1 changed files with 6 additions and 0 deletions
|
@ -142,6 +142,12 @@ Task("Experimental-Kestrel-Mono-Full-Framework")
|
||||||
var configFile = File(buildOutputPath + "/JackettConsole.exe.config");
|
var configFile = File(buildOutputPath + "/JackettConsole.exe.config");
|
||||||
XmlPoke(configFile, "configuration/runtime/*[name()='assemblyBinding']/*[name()='dependentAssembly']/*[name()='assemblyIdentity'][@name='System.Net.Http']/../*[name()='bindingRedirect']/@newVersion", "4.0.0.0");
|
XmlPoke(configFile, "configuration/runtime/*[name()='assemblyBinding']/*[name()='dependentAssembly']/*[name()='assemblyIdentity'][@name='System.Net.Http']/../*[name()='bindingRedirect']/@newVersion", "4.0.0.0");
|
||||||
|
|
||||||
|
//Mono on FreeBSD doesn't like the bundled System.Runtime.InteropServices.RuntimeInformation
|
||||||
|
//https://github.com/dotnet/corefx/issues/23989
|
||||||
|
//https://github.com/Jackett/Jackett/issues/3547
|
||||||
|
|
||||||
|
DeleteFile(buildOutputPath + "/System.Runtime.InteropServices.RuntimeInformation.dll");
|
||||||
|
|
||||||
Gzip("./BuildOutput/Experimental/net461/linux-x64", $"./{artifactsDirName}", "Jackett", "Jackett.Binaries.Mono.tar.gz");
|
Gzip("./BuildOutput/Experimental/net461/linux-x64", $"./{artifactsDirName}", "Jackett", "Jackett.Binaries.Mono.tar.gz");
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue