Преглед на файлове

Removed $Revert variable

Richard Newton преди 6 години
родител
ревизия
dcbc26a3d5
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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) {