Skip to content

Commit

Permalink
fix(v1.1.1): general fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
he3als committed Aug 4, 2023
1 parent 1c11db3 commit 0acdc13
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions RemoveEdge.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -112,19 +112,18 @@ if ($null -ne $(whoami /user | Select-String "S-1-5-18")) {
}
}

$removeWebView = $true
$removeData = $true

if ($Exit) {
$removeData = $true
$removeWebView = $true
UninstallAll
if ($Exit) {exit} else {}
exit
}

$removeWebView = $true
$removeData = $true
if (!($UninstallAll)) {
while (!($continue)) {
Clear-Host; Write-Host "This script will remove Microsoft Edge, as once you install it, you can't normally uninstall it.
Major credit to ave9858: https://gist.github.com/ave9858/c3451d9f452389ac7607c99d45edecc6`n" -ForegroundColor Yellow
Major credit to ave9858: https://gist.github.com/ave9858/c3451d9f452389ac7607c99d45edecc6`n" -ForegroundColor Yellow

if ($removeWebView) {$colourWeb = "Green"; $textWeb = "Selected"} else {$colourWeb = "Red"; $textWeb = "Unselected"}
if ($removeData) {$colourData = "Green"; $textData = "Selected"} else {$colourData = "Red"; $textData = "Unselected"}
Expand Down

0 comments on commit 0acdc13

Please sign in to comment.