DTLib updated

This commit is contained in:
2024-01-07 14:52:00 +06:00
parent 42431f0948
commit dec8fbef33
4 changed files with 16 additions and 11 deletions

View File

@@ -24,11 +24,9 @@ static class Server
static readonly Socket mainSocket = new(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp);
static ServerConfig Config = null!;
public static readonly IOPath shared_dir = "public";
static void Main(string[] args)
{
Timer? updateCheckTimer = null;
try
{
Console.Title = "minecraft_launcher_server";
@@ -39,7 +37,7 @@ static class Server
CheckUpdates();
// check for updates every 5 minutes
updateCheckTimer = new Timer(true, 5*60 * 1000, CheckUpdates);
var updateCheckTimer = new Timer(true, 5*60 * 1000, CheckUpdates);
updateCheckTimer.Start();

View File

@@ -12,8 +12,8 @@
<InvariantGlobalization>true</InvariantGlobalization>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="DTLib.Dtsod" Version="1.3.1" />
<PackageReference Include="DTLib.Logging" Version="1.3.1" />
<PackageReference Include="DTLib.Network" Version="1.3.3" />
<PackageReference Include="DTLib.Dtsod" Version="1.3.3" />
<PackageReference Include="DTLib.Logging" Version="1.3.3" />
<PackageReference Include="DTLib.Network" Version="1.4.1" />
</ItemGroup>
</Project>