fixed dependencies
This commit is contained in:
@@ -6,6 +6,7 @@ using System.Text;
|
||||
using DTLib;
|
||||
using DTLib.Filesystem;
|
||||
using DTLib.Network;
|
||||
using DTLib.Extensions;
|
||||
|
||||
namespace updater
|
||||
{
|
||||
@@ -87,9 +88,9 @@ namespace updater
|
||||
{
|
||||
lock (new object())
|
||||
{
|
||||
if (msg.Length == 1) OldFilework.LogToFile(logfile, msg[0]);
|
||||
if (msg.Length == 1) File.AppendAllText(logfile, msg[0]);
|
||||
else if (msg.Length % 2 != 0) throw new Exception("incorrect array to log\n");
|
||||
else OldFilework.LogToFile(logfile, msg.MergeToString());
|
||||
else File.AppendAllText(logfile, msg.MergeToString());
|
||||
ColoredConsole.Write(msg);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -76,7 +76,7 @@
|
||||
<Content Include="logo-D.ico" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\DTLib\DTLib.csproj">
|
||||
<ProjectReference Include="..\..\DTLib\DTLib\DTLib.csproj">
|
||||
<Project>{ce793497-2d5c-42d8-b311-e9b32af9cdfb}</Project>
|
||||
<Name>DTLib</Name>
|
||||
</ProjectReference>
|
||||
@@ -84,10 +84,10 @@
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<PropertyGroup>
|
||||
<PostBuildEvent>del /f /q dtlauncher.exe.config
|
||||
copy dtlauncher.exe C:\projects\c#\dtlauncher\dtlauncher-server-win\bin\share\client\dtlauncher.exe
|
||||
copy DTLib.dll C:\projects\c#\dtlauncher\dtlauncher-server-win\bin\share\client\DTLib.dll
|
||||
copy dtlauncher.exe C:\projects\c#\dtlauncher\release\dtlauncher.exe
|
||||
copy DTLib.dll C:\projects\c#\dtlauncher\release\DTLib.dll
|
||||
copy dtlauncher.exe ..\..\dtlauncher-server-win\bin\share\client\dtlauncher.exe
|
||||
copy DTLib.dll ..\..\dtlauncher-server-win\bin\share\client\DTLib.dll
|
||||
copy dtlauncher.exe ..\..\release\dtlauncher.exe
|
||||
copy DTLib.dll ..\..\release\DTLib.dll
|
||||
|
||||
</PostBuildEvent>
|
||||
</PropertyGroup>
|
||||
|
||||
Reference in New Issue
Block a user