fix build

This commit is contained in:
Lyssa 2025-04-02 14:34:11 +04:00
parent b8558d8fb2
commit accbed0c51
2 changed files with 3 additions and 2 deletions

View File

@ -111,7 +111,8 @@ namespace LibTSforge.Activators
try
{
shortauth = BitConverter.ToUInt64(Convert.FromBase64String(uniqueId.Split('&')[1]), 0);
} catch
}
catch
{
throw new FormatException("Key Unique ID has invalid format.");
}

View File

@ -52,7 +52,7 @@ namespace TSforgeCLI
}
PSVersion version = options.Version ?? Utils.DetectVersion();
bool production = options.Production ?? Utils.DetectCurrentKey();
bool production = options.Production ?? SPPUtils.DetectCurrentKey();
if (options.Dump)
{