Portable Tool for an Ideal Windows Setup
C# activatorbloatware-removalcsharpdebloatdebloaterdisable-servicesmonitoring-systemportableprivacy-toolsregistry-tweakssystem-tuningsystem-utilitytelemetrytweakerwindows-10windows-11windows-debloatwindows-defenderwindows-optimizationwindows-tweaks
-fixed & update images
Greedekscb27d1d72964
diff --git a/.Source/GTweak/Utilities/Tweaks/UninstallingPakages.cs b/.Source/GTweak/Utilities/Tweaks/UninstallingPakages.csindex fbea2dd5..2848a4ad 100644--- a/.Source/GTweak/Utilities/Tweaks/UninstallingPakages.cs+++ b/.Source/GTweak/Utilities/Tweaks/UninstallingPakages.cs@@ -149,31 +149,35 @@ namespace GTweak.Utilities.Tweakselse{- using (Process process = new Process())+ try{- process.StartInfo.UseShellExecute = false;- process.StartInfo.CreateNoWindow = true;- process.StartInfo.WindowStyle = ProcessWindowStyle.Minimized;- process.EnableRaisingEvents = true;- process.StartInfo.FileName = "powershell.exe";- process.StartInfo.Arguments = $"Get-AppxProvisionedPackage -online | where-object {{$_.PackageName -like '*{packageName}*'}} | Remove-AppxProvisionedPackage -alluser -online –Verbose";- process.Start();-- foreach (string getPackage in PackageScripts[packageName])+ using (Process process = new Process()){- TrustedInstaller.CreateProcessAsTrustedInstaller(SettingsRepository.PID, $@"cmd.exe /c for /d %i in (""{pathPackage}\*{getPackage}*"") do rd /s /q ""%i""");- process.StartInfo.Arguments = $"Get-AppxPackage -Name {getPackage} -AllUsers | Remove-AppxPackage";+ process.StartInfo.UseShellExecute = false;+ process.StartInfo.CreateNoWindow = true;+ process.StartInfo.WindowStyle = ProcessWindowStyle.Minimized;+ process.EnableRaisingEvents = true;+ process.StartInfo.FileName = "powershell.exe";+ process.StartInfo.Arguments = $"Get-AppxProvisionedPackage -online | where-object {{$_.PackageName -like '*{packageName}*'}} | Remove-AppxProvisionedPackage -alluser -online –Verbose";process.Start();- }- if (PackageAliases.ContainsKey(packageName))- {- process.StartInfo.Arguments = $"Get-AppxProvisionedPackage -online | where-object {{$_.PackageName -like '*{PackageAliases[packageName]}*'}} | Remove-AppxProvisionedPackage -alluser -online –Verbose";- process.Start();- }+ foreach (string getPackage in PackageScripts[packageName])+ {+ TrustedInstaller.CreateProcessAsTrustedInstaller(SettingsRepository.PID, $@"cmd.exe /c for /d %i in (""{pathPackage}\*{getPackage}*"") do rd /s /q ""%i""");+ process.StartInfo.Arguments = $"Get-AppxPackage -Name {getPackage} -AllUsers | Remove-AppxPackage";+ process.Start();+ }++ if (PackageAliases.ContainsKey(packageName))+ {+ process.StartInfo.Arguments = $"Get-AppxProvisionedPackage -online | where-object {{$_.PackageName -like '*{PackageAliases[packageName]}*'}} | Remove-AppxProvisionedPackage -alluser -online –Verbose";+ process.Start();+ }- process.WaitForExit(1000);+ process.WaitForExit(1000);+ }}+ catch (Exception ex) { Debug.WriteLine(ex); };switch (packageName){diff --git a/.github/Preview.gif b/.github/Preview.gifindex 0a6fcd9a..e555212b 100644Binary files a/.github/Preview.gif and b/.github/Preview.gif differdiff --git a/.github/en/More.png b/.github/en/More.pngindex 548e7956..447540d9 100644Binary files a/.github/en/More.png and b/.github/en/More.png differdiff --git a/.github/ru/More.png b/.github/ru/More.pngindex 03151aa9..2a4691b7 100644Binary files a/.github/ru/More.png and b/.github/ru/More.png differ