Portable Tool for an Ideal Windows Setup
C# activatorbloatware-removalcsharpdebloatdebloaterdisable-servicesmonitoring-systemportableprivacy-toolsregistry-tweakssystem-tuningsystem-utilitytelemetrytweakerwindows-10windows-11windows-debloatwindows-defenderwindows-optimizationwindows-tweaks
upd version generation debbuger v 5.2.0
Greedeks2d890352cdcb
diff --git a/.Source/GTweak/Properties/AssemblyInfo.cs b/.Source/GTweak/Properties/AssemblyInfo.csindex 8156fd47..78d9dd84 100644--- a/.Source/GTweak/Properties/AssemblyInfo.cs+++ b/.Source/GTweak/Properties/AssemblyInfo.cs@@ -7,9 +7,9 @@ using System.Windows;[assembly: AssemblyProduct("GTweak")][assembly: AssemblyCopyright("© 2024-2025 Greedeks")][assembly: AssemblyTrademark("Greedeks")]-[assembly: AssemblyInformationalVersion("Build: 5.1.9")]-[assembly: AssemblyVersion("5.1.57.928")]-[assembly: AssemblyFileVersion("5.1.57.928")]+[assembly: AssemblyInformationalVersion("Build: 5.2.0")]+[assembly: AssemblyVersion("5.2.62.782")]+[assembly: AssemblyFileVersion("5.2.62.782")][assembly: ComVisible(false)]diff --git a/.Source/GTweak/Properties/AssemblyInfo.tt b/.Source/GTweak/Properties/AssemblyInfo.ttindex 40aff845..15fd0044 100644--- a/.Source/GTweak/Properties/AssemblyInfo.tt+++ b/.Source/GTweak/Properties/AssemblyInfo.tt@@ -9,7 +9,7 @@ using System.Windows;[assembly: AssemblyProduct("GTweak")][assembly: AssemblyCopyright("© 2024-<#= DateTime.Now.Year #> Greedeks")][assembly: AssemblyTrademark("Greedeks")]-[assembly: AssemblyInformationalVersion("Build: 5.1.9")]+[assembly: AssemblyInformationalVersion("<#= buildVersion #>")][assembly: AssemblyVersion("5.<#= GenerateVersion() #>")][assembly: AssemblyFileVersion("5.<#= GenerateVersion() #>")]@@ -20,10 +20,13 @@ using System.Windows;ResourceDictionaryLocation.SourceAssembly)]<#++ private const string buildVersion = "Build: 5.2.0";+private string GenerateVersion(){- int major = (int)(DateTime.UtcNow - new DateTime(DateTime.UtcNow.Year, DateTime.UtcNow.Month, DateTime.UtcNow.Day)).TotalSeconds / 1000;+ string subversion = buildVersion.Replace("Build: ", "").Trim().Split('.') switch { { Length: > 1 } parts => parts[1], _ => "0" };+ int path = (int)(DateTime.UtcNow - new DateTime(DateTime.UtcNow.Year, DateTime.UtcNow.Month, DateTime.UtcNow.Day)).TotalSeconds / 1000;int revision = (int)(DateTime.UtcNow - DateTime.Now.Date).TotalSeconds % 1000;- return $"{1}.{major}.{revision}";+ return $"{subversion}.{path}.{revision}";}#>\ No newline at end of filediff --git a/.Source/GTweak/Utilities/Configuration/SystemDiagnostics.cs b/.Source/GTweak/Utilities/Configuration/SystemDiagnostics.csindex 1122d7d3..c2e77007 100644--- a/.Source/GTweak/Utilities/Configuration/SystemDiagnostics.cs+++ b/.Source/GTweak/Utilities/Configuration/SystemDiagnostics.cs@@ -2,7 +2,6 @@using GTweak.Utilities.Helpers;using Microsoft.Win32;using Newtonsoft.Json;-using Newtonsoft.Json.Linq;using System;using System.Collections.Generic;using System.Globalization;