added updater

This commit is contained in:
kitbyte
2025-03-23 11:37:00 +02:00
parent 68cbbee275
commit 123307aed7
8 changed files with 228 additions and 30 deletions
+13 -2
View File
@@ -1,7 +1,18 @@
namespace WeModPatcher
using System;
using System.Reflection;
namespace WeModPatcher
{
public static class Constants
{
public const string RepositoryUrl = "https://github.com/k1tbyte/Wemod-Patcher";
public const string RepoName = "Wemod-Patcher";
public const string Owner = "k1tbyte";
public static readonly string RepositoryUrl = $"https://github.com/{Owner}/{RepoName}";
public static readonly Version Version;
static Constants()
{
Version = Assembly.GetExecutingAssembly().GetName().Version;
}
}
}