Explorar o código

Removed $Revert variable

Richard Newton %!s(int64=6) %!d(string=hai) anos
pai
achega
dcbc26a3d5
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Windows10Debloater.ps1

+ 1 - 1
Windows10Debloater.ps1

@@ -726,7 +726,7 @@ Switch ($Prompt1) {
         Write-Output "Reverting changes..."
         Write-Output "Creating PSDrive 'HKCR' (HKEY_CLASSES_ROOT). This will be used for the duration of the script as it is necessary for the modification of specific registry keys."
         New-PSDrive  HKCR -PSProvider Registry -Root HKEY_CLASSES_ROOT
-        Revert-Changes; = $Revert
+        Revert-Changes
         #Prompt asking to revert edge changes as well
         $Prompt6 = [Windows.MessageBox]::Show($EdgePdf2, "Revert Edge", $Button, $ErrorIco)
         Switch ($Prompt6) {