mirror of
https://github.com/EpinelPS/EpinelPS.git
synced 2025-12-16 00:44:36 +01:00
updates work in launcher now
This commit is contained in:
18
nksrv/IntlServer/JuniperLauncherGetRepoVersion.cs
Normal file
18
nksrv/IntlServer/JuniperLauncherGetRepoVersion.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace nksrv.IntlServer
|
||||
{
|
||||
internal class JuniperLauncherGetRepoVersion : IntlMsgHandler
|
||||
{
|
||||
public override bool RequiresAuth => false;
|
||||
|
||||
protected override async Task HandleAsync()
|
||||
{
|
||||
await WriteJsonStringAsync(File.ReadAllText(Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "gameversion.json")), true);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user