Skip to content

Commit

Permalink
Update to v2.7.1
Browse files Browse the repository at this point in the history
Fix fake error tips.
  • Loading branch information
TGSAN committed Oct 7, 2023
1 parent fbb64b4 commit 24a430a
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 4 deletions.
10 changes: 8 additions & 2 deletions CMWTAT_DIGITAL/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1208,9 +1208,15 @@ private void RunAct()
}

runend = RunCScript(slmgr_self, "-ato").Trim();

ConsoleLog(runend);
if (runend.EndsWith("successfully.") || runend.Contains("0xC004F074") || runend.Contains("0xC004C003")) //0xC004F074 是 KMS38 长期激活会出的提示,Error 0xC004C003: The activation server determined that the specified product key is blocked. 是因为未连接激活服务器,下次连接时会自动激活。

var xprrunend = RunCScript(slmgr_self, "-xpr").Trim();
var activated = (xprrunend.Contains("activated") || xprrunend.Contains("activation will expire"));

ConsoleLog(xprrunend);

if (runend.EndsWith("successfully.") || activated || runend.Contains("0xC004C003")) // Error 0xC004C003: The activation server determined that the specified product key is blocked. 是因为未连接激活服务器,下次连接时会自动激活。
{
if (runend.Contains("0xC004C003"))
{
Expand Down
4 changes: 2 additions & 2 deletions CMWTAT_DIGITAL/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,5 @@
// 可以指定所有值,也可以使用以下所示的 "*" 预置版本号和修订号
// 方法是按如下所示使用“*”: :
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("2.7.0.0")]
[assembly: AssemblyFileVersion("2.7.0.0")]
[assembly: AssemblyVersion("2.7.1.0")]
[assembly: AssemblyFileVersion("2.7.1.0")]
Binary file removed CMWTAT_Digital_Release_2_7_0_0.zip
Binary file not shown.
Binary file not shown.
Binary file added CMWTAT_Digital_Release_2_7_1_0.zip
Binary file not shown.

0 comments on commit 24a430a

Please sign in to comment.