summaryrefslogtreecommitdiff
path: root/LibTSforge/SPP
diff options
context:
space:
mode:
authorWitherOrNot2025-03-03 00:02:36 +0000
committerWitherOrNot2025-03-03 00:02:36 +0000
commitf2ad15e5a25c9cc2cdf0d198927be0562f466156 (patch)
treefa2dda646e5cecf3e5dab1ebe3aa071a0545d0c1 /LibTSforge/SPP
parent6d759899d85939c95f2b97c8e041d7b4865208f9 (diff)
downloadTSforge-f2ad15e5a25c9cc2cdf0d198927be0562f466156.zip
fix vista kms4k, add reset support
Diffstat (limited to 'LibTSforge/SPP')
-rw-r--r--LibTSforge/SPP/SPPUtils.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/LibTSforge/SPP/SPPUtils.cs b/LibTSforge/SPP/SPPUtils.cs
index f1aa32f..08dbe03 100644
--- a/LibTSforge/SPP/SPPUtils.cs
+++ b/LibTSforge/SPP/SPPUtils.cs
@@ -252,6 +252,8 @@ namespace LibTSforge.SPP
File.WriteAllBytes(filePath, PhysStoreCrypto.DecryptPhysicalStore(encrData, production, version));
}
+ RestartSPP(version);
+
Logger.WriteLine("Store dumped successfully to '" + filePath + "'.");
}
@@ -269,6 +271,8 @@ namespace LibTSforge.SPP
store.WriteRaw(File.ReadAllBytes(filePath));
}
+ RestartSPP(version);
+
Logger.WriteLine("Loaded store file succesfully.");
}
}