Add code to automatically delete the bad DLL
This commit is contained in:
@@ -24,8 +24,6 @@ namespace Torch.Server
|
|||||||
[STAThread]
|
[STAThread]
|
||||||
public static void Main(string[] args)
|
public static void Main(string[] args)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
||||||
Target.Register<FlowDocumentTarget>("FlowDocument");
|
Target.Register<FlowDocumentTarget>("FlowDocument");
|
||||||
//Ensures that all the files are downloaded in the Torch directory.
|
//Ensures that all the files are downloaded in the Torch directory.
|
||||||
var workingDir = new FileInfo(typeof(Program).Assembly.Location).Directory.ToString();
|
var workingDir = new FileInfo(typeof(Program).Assembly.Location).Directory.ToString();
|
||||||
@@ -36,6 +34,7 @@ namespace Torch.Server
|
|||||||
var badDlls = new[]
|
var badDlls = new[]
|
||||||
{
|
{
|
||||||
"System.Security.Principal.Windows.dll",
|
"System.Security.Principal.Windows.dll",
|
||||||
|
"VRage.Platform.Windows.dll"
|
||||||
};
|
};
|
||||||
|
|
||||||
try
|
try
|
||||||
|
Reference in New Issue
Block a user