File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed
Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -112,19 +112,18 @@ if ($null -ne $(whoami /user | Select-String "S-1-5-18")) {
112112 }
113113}
114114
115+ $removeWebView = $true
116+ $removeData = $true
117+
115118if ($Exit ) {
116- $removeData = $true
117- $removeWebView = $true
118119 UninstallAll
119- if ( $Exit ) { exit } else {}
120+ exit
120121}
121122
122- $removeWebView = $true
123- $removeData = $true
124123if (! ($UninstallAll )) {
125124 while (! ($continue )) {
126125 Clear-Host ; Write-Host " This script will remove Microsoft Edge, as once you install it, you can't normally uninstall it.
127- Major credit to ave9858: https://gist.github.com/ave9858/c3451d9f452389ac7607c99d45edecc6`n " - ForegroundColor Yellow
126+ Major credit to ave9858: https://gist.github.com/ave9858/c3451d9f452389ac7607c99d45edecc6`n " - ForegroundColor Yellow
128127
129128 if ($removeWebView ) {$colourWeb = " Green" ; $textWeb = " Selected" } else {$colourWeb = " Red" ; $textWeb = " Unselected" }
130129 if ($removeData ) {$colourData = " Green" ; $textData = " Selected" } else {$colourData = " Red" ; $textData = " Unselected" }
You can’t perform that action at this time.
0 commit comments