summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLyssa2025-04-02 10:34:11 +0000
committerLyssa2025-04-02 10:34:11 +0000
commitaccbed0c514fc4ad1eaf5691cb89421f0485b5d6 (patch)
treed57627f001b7af07d3e7b4b9395c66f445ed4f2d
parentb8558d8fb2de25a97572ec9d3e33618b8fac3027 (diff)
downloadTSforge-accbed0c514fc4ad1eaf5691cb89421f0485b5d6.zip
fix build
-rw-r--r--LibTSforge/Activators/ZeroCID.cs3
-rw-r--r--TSforgeCLI/Program.cs2
2 files changed, 3 insertions, 2 deletions
diff --git a/LibTSforge/Activators/ZeroCID.cs b/LibTSforge/Activators/ZeroCID.cs
index 255eea2..1675173 100644
--- a/LibTSforge/Activators/ZeroCID.cs
+++ b/LibTSforge/Activators/ZeroCID.cs
@@ -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.");
}
diff --git a/TSforgeCLI/Program.cs b/TSforgeCLI/Program.cs
index 8581b5c..2c636b4 100644
--- a/TSforgeCLI/Program.cs
+++ b/TSforgeCLI/Program.cs
@@ -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)
{