summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)
{