using System.Reflection;

namespace AfRApay.Web.Backend;

public class Utils {
	public static readonly string Version =
		((AssemblyInformationalVersionAttribute)Assembly.GetEntryAssembly()!.GetCustomAttributes(typeof(AssemblyInformationalVersionAttribute), false)[0])
		.InformationalVersion[6..];

	public static readonly string LinkVersion = Version[..8];
}
