Portable Tool for an Ideal Windows Setup
C# activatorbloatware-removalcsharpdebloatdebloaterdisable-servicesmonitoring-systemportableprivacy-toolsregistry-tweakssystem-tuningsystem-utilitytelemetrytweakerwindows-10windows-11windows-debloatwindows-defenderwindows-optimizationwindows-tweaks
prevent potential deadlocks & deb (b) v 5.3.2
Greedeks5a6b8baf49e6
diff --git a/.Source/GTweak/Core/ViewModel/MainViewModel.cs b/.Source/GTweak/Core/ViewModel/MainViewModel.csindex 38439dfc..b1b2f18a 100644--- a/.Source/GTweak/Core/ViewModel/MainViewModel.cs+++ b/.Source/GTweak/Core/ViewModel/MainViewModel.cs@@ -9,7 +9,6 @@ using System.Reflection;using System.Windows;using System.Windows.Input;using System.Windows.Media;-using System.Windows.Threading;namespace GTweak.Core.ViewModel{@@ -86,7 +85,7 @@ namespace GTweak.Core.ViewModelpublic MainViewModel(){App.TweaksImported += delegate { CurrentView = new MoreVM(); };- App.LanguageChanged += delegate { Application.Current.Dispatcher.Invoke(FillThemes); };+ App.LanguageChanged += delegate { Application.Current.Dispatcher.BeginInvoke(new Action(FillThemes)); };ConfidentialityCommand = new RelayCommand(Confidentiality);InterfaceCommand = new RelayCommand(Interface);@@ -104,7 +103,7 @@ namespace GTweak.Core.ViewModel{FillLanguages();FillThemes();- }), DispatcherPriority.ApplicationIdle);+ }));}}diff --git a/.Source/GTweak/GTweak.csproj b/.Source/GTweak/GTweak.csprojindex d2e38596..5d343c34 100644--- a/.Source/GTweak/GTweak.csproj+++ b/.Source/GTweak/GTweak.csproj@@ -49,7 +49,7 @@<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "><PlatformTarget>x64</PlatformTarget><DebugType>pdbonly</DebugType>- <Optimize>true</Optimize>+ <Optimize>false</Optimize><OutputPath>bin\Release\</OutputPath><DefineConstants>TRACE</DefineConstants><ErrorReport>prompt</ErrorReport>diff --git a/.Source/GTweak/Properties/AssemblyInfo.cs b/.Source/GTweak/Properties/AssemblyInfo.csindex db7c7df3..46f4d17d 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.3.1")]-[assembly: AssemblyVersion("5.3.23.900")]-[assembly: AssemblyFileVersion("5.3.23.900")]+[assembly: AssemblyInformationalVersion("Build: 5.3.2")]+[assembly: AssemblyVersion("5.3.45.159")]+[assembly: AssemblyFileVersion("5.3.45.159")][assembly: ComVisible(false)]diff --git a/.Source/GTweak/Properties/AssemblyInfo.tt b/.Source/GTweak/Properties/AssemblyInfo.ttindex 6a5d5f69..113a6191 100644--- a/.Source/GTweak/Properties/AssemblyInfo.tt+++ b/.Source/GTweak/Properties/AssemblyInfo.tt@@ -20,7 +20,7 @@ using System.Windows;ResourceDictionaryLocation.SourceAssembly)]<#+- private const string majorVersion = "Build: 5.3.1";+ private const string majorVersion = "Build: 5.3.2";private string GenerateVersion(){diff --git a/.Source/GTweak/View/DataSystemView.xaml b/.Source/GTweak/View/DataSystemView.xamlindex 55d414e8..6f7ab78e 100644--- a/.Source/GTweak/View/DataSystemView.xaml+++ b/.Source/GTweak/View/DataSystemView.xaml@@ -69,10 +69,10 @@<TextBlock HorizontalAlignment="Left" FontFamily="{StaticResource Jura}" FontSize="14" Foreground="{StaticResource Color_Inactive}" Margin="0,5,0,0"><Run Text="{DynamicResource label_proc_systemInformation}"/>- <Run x:Name="Processes" Text="{Binding [Processes].Data, StringFormat=' {0}'}"/>+ <Run Text="{Binding [Processes].Data, StringFormat=' {0}'}"/><Run Text=" • "/><Run Text="{DynamicResource label_svc_systemInformation}"/>- <Run x:Name="Services" Text="{Binding [Services].Data, StringFormat=' {0}'}"/>+ <Run Text="{Binding [Services].Data, StringFormat=' {0}'}"/></TextBlock></StackPanel></Grid>diff --git a/.Source/GTweak/View/DataSystemView.xaml.cs b/.Source/GTweak/View/DataSystemView.xaml.csindex 6e2e7ef1..c65fcc90 100644--- a/.Source/GTweak/View/DataSystemView.xaml.cs+++ b/.Source/GTweak/View/DataSystemView.xaml.cs@@ -56,21 +56,21 @@ namespace GTweak.ViewAnimationProgressBars();_ = Dispatcher.BeginInvoke(new Action(async () =>{- Processes.Text = MonitoringService.GetNumberRunningProcesses = await Task.Run(() => _systemDiagnostics.GetProcessCount());- Services.Text = MonitoringService.GetNumberRunningService = await Task.Run(() => _systemDiagnostics.GetServicesCount());+ MonitoringService.GetNumberRunningProcesses = await Task.Run(() => _systemDiagnostics.GetProcessCount());+ MonitoringService.GetNumberRunningService = await Task.Run(() => _systemDiagnostics.GetServicesCount());}));}else if ((int)time.TotalSeconds % 5 == 0){await backgroundQueue.QueueTask(delegate { _systemDiagnostics.GetUserIpAddress(); });- Dispatcher.Invoke(() => DataContext = new DataSystemVM());+ _ = Dispatcher.BeginInvoke(new Action(() => { DataContext = new DataSystemVM(); }));}- Dispatcher.Invoke(() =>+ _ = Dispatcher.BeginInvoke(new Action(() =>{if (BtnHiddenIP.IsChecked.Value & BtnHiddenIP.Visibility == Visibility.Hidden & !SystemDiagnostics.isIPAddressFormatValid)IpAddress.Effect.BeginAnimation(BlurEffect.RadiusProperty, FactoryAnimation.CreateTo(0.18, () => { SettingsEngine.IsHiddenIpAddress = false; }));- });+ }));});_timer.Start();