Portable Tool for an Ideal Windows Setup
C# activatorbloatware-removalcsharpdebloatdebloaterdisable-servicesmonitoring-systemportableprivacy-toolsregistry-tweakssystem-tuningsystem-utilitytelemetrytweakerwindows-10windows-11windows-debloatwindows-defenderwindows-optimizationwindows-tweaks
-chnaged modifiers & objects
Greedeks0c81cbdcb63f
diff --git a/.Source/GTweak/Utilities/Helpers/BackgroundQueue.cs b/.Source/GTweak/Utilities/Helpers/BackgroundQueue.csindex 0f15566a..cc50902b 100644--- a/.Source/GTweak/Utilities/Helpers/BackgroundQueue.cs+++ b/.Source/GTweak/Utilities/Helpers/BackgroundQueue.cs@@ -8,7 +8,7 @@ namespace GTweak.Utilities.Helpers{private Task previousTask = Task.FromResult(true);private readonly object key = new object();- public Task QueueTask(Action action)+ internal Task QueueTask(Action action){lock (key){@@ -20,7 +20,7 @@ namespace GTweak.Utilities.Helpers}}- public Task<T> QueueTask<T>(Func<T> work)+ internal Task<T> QueueTask<T>(Func<T> work){lock (key){@@ -32,6 +32,6 @@ namespace GTweak.Utilities.Helpersreturn task;}}- public bool IsQueueCompleted() => previousTask.IsCompleted;+ internal bool IsQueueCompleted() => previousTask.IsCompleted;}}diff --git a/.Source/GTweak/Utilities/Helpers/BrushAnimation.cs b/.Source/GTweak/Utilities/Helpers/BrushAnimation.csindex 877a55a9..db7bc0de 100644--- a/.Source/GTweak/Utilities/Helpers/BrushAnimation.cs+++ b/.Source/GTweak/Utilities/Helpers/BrushAnimation.cs@@ -10,7 +10,6 @@ namespace GTweak.Utilities.Helpers{protected override Freezable CreateInstanceCore() => new BrushAnimation();-public override Type TargetPropertyType => typeof(Brush);static BrushAnimation()@@ -52,7 +51,6 @@ namespace GTweak.Utilities.HelperstoVal.Opacity = Convert.ToDouble(animationClock.CurrentProgress);-Border borderFrom = new Border();Border borderTo = new Border();diff --git a/.Source/GTweak/Utilities/Helpers/INIManager.cs b/.Source/GTweak/Utilities/Helpers/INIManager.csindex 2e0831f6..11bfae31 100644--- a/.Source/GTweak/Utilities/Helpers/INIManager.cs+++ b/.Source/GTweak/Utilities/Helpers/INIManager.cs@@ -16,6 +16,7 @@ namespace GTweak.Utilities.Helpersprivate static extern int GetPrivateProfileSection(string section, StringBuilder retVal, int size, string filePath);private readonly string pathToConfig;+internal static Dictionary<string, string>UserTweaksConfidentiality = new Dictionary<string, string>(),UserTweaksInterface = new Dictionary<string, string>(),diff --git a/.Source/GTweak/Utilities/Tweaks/ConfidentialityTweaks.cs b/.Source/GTweak/Utilities/Tweaks/ConfidentialityTweaks.csindex d29aa2f1..1bc414c2 100644--- a/.Source/GTweak/Utilities/Tweaks/ConfidentialityTweaks.cs+++ b/.Source/GTweak/Utilities/Tweaks/ConfidentialityTweaks.cs@@ -315,7 +315,8 @@ namespace GTweak.Utilities.TweaksDisablingTasks(SchedulerTasks);elseEnablingTasks(SchedulerTasks);- }) { IsBackground = true };+ })+ { IsBackground = true };_thread.Start();break;case "TglButton5":diff --git a/.Source/GTweak/Utilities/Tweaks/InterfaceTweaks.cs b/.Source/GTweak/Utilities/Tweaks/InterfaceTweaks.csindex b03716cf..c5818b69 100644--- a/.Source/GTweak/Utilities/Tweaks/InterfaceTweaks.cs+++ b/.Source/GTweak/Utilities/Tweaks/InterfaceTweaks.cs@@ -358,7 +358,8 @@ namespace GTweak.Utilities.Tweaks}}- }) { IsBackground = true };+ })+ { IsBackground = true };_thread.Start();}diff --git a/.Source/GTweak/Windows/ImportWindow.xaml.cs b/.Source/GTweak/Windows/ImportWindow.xaml.csindex 68a4da06..e9044654 100644--- a/.Source/GTweak/Windows/ImportWindow.xaml.cs+++ b/.Source/GTweak/Windows/ImportWindow.xaml.cs@@ -13,7 +13,7 @@ namespace GTweak.Windows{public partial class ImportWindow : Window{- internal class SectionName+ private struct SectionName{internal const string Confidentiality = "Confidentiality Tweaks";internal const string Interface = "Interface Tweaks";