Skip to content

Commit

Permalink
fix(edge): string -> switch
Browse files Browse the repository at this point in the history
  • Loading branch information
he3als committed Jul 11, 2023
1 parent 4582378 commit a4e856e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Executables/Atlas/1. Software/Remove Edge.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ function RunAsScheduledTask {
function RemoveEdgeChromium {
[CmdletBinding()]
param (
[String]$AsTask
[Switch]$AsTask
)
$baseKey = "HKLM:\SOFTWARE\WOW6432Node\Microsoft"

Expand Down Expand Up @@ -98,7 +98,7 @@ function RemoveEdgeAppX {
function RemoveWebView {
[CmdletBinding()]
param (
[String]$AsTask
[Switch]$AsTask
)
$webviewUninstallKeyPath = "HKLM:\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Microsoft EdgeWebView"
if (Test-Path $webviewUninstallKeyPath) {
Expand Down

0 comments on commit a4e856e

Please sign in to comment.