Fix moar
This commit is contained in:
@@ -171,9 +171,10 @@ quit";
|
|||||||
File.Delete(STEAMCMD_ZIP);
|
File.Delete(STEAMCMD_ZIP);
|
||||||
log.Info("SteamCMD downloaded successfully!");
|
log.Info("SteamCMD downloaded successfully!");
|
||||||
}
|
}
|
||||||
catch
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
log.Error("Failed to download SteamCMD, unable to update the DS.");
|
log.Error("Failed to download SteamCMD, unable to update the DS.");
|
||||||
|
log.Error(e);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -31,9 +31,15 @@ namespace Torch.Server
|
|||||||
Directory.SetCurrentDirectory(workingDir);
|
Directory.SetCurrentDirectory(workingDir);
|
||||||
|
|
||||||
//HACK for block skins update
|
//HACK for block skins update
|
||||||
foreach (var f in Directory.EnumerateFiles(workingDir, "System.*", SearchOption.TopDirectoryOnly))
|
var badDlls = new[]
|
||||||
{
|
{
|
||||||
File.Delete(f);
|
"System.Security.Principal.Windows.dll"
|
||||||
|
};
|
||||||
|
|
||||||
|
foreach (var file in badDlls)
|
||||||
|
{
|
||||||
|
if (File.Exists(file))
|
||||||
|
File.Delete(file);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!TorchLauncher.IsTorchWrapped())
|
if (!TorchLauncher.IsTorchWrapped())
|
||||||
|
@@ -516,6 +516,6 @@
|
|||||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||||
<Import Project="$(SolutionDir)\TransformOnBuild.targets" />
|
<Import Project="$(SolutionDir)\TransformOnBuild.targets" />
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<PostBuildEvent>copy "$(SolutionDir)NLog.config" "$(TargetDir)" & copy "$(SolutionDir)NLog-user.config" "$(TargetDir)" & del "$(TargetDir)System.*"</PostBuildEvent>
|
<PostBuildEvent>copy "$(SolutionDir)NLog.config" "$(TargetDir)" & copy "$(SolutionDir)NLog-user.config" "$(TargetDir)"</PostBuildEvent>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
</Project>
|
</Project>
|
Reference in New Issue
Block a user