diff --git a/automatic/1password/tools/chocolateyUninstall.ps1 b/automatic/1password/tools/chocolateyUninstall.ps1 index 3080192289b..e9f8eb3a6fc 100644 --- a/automatic/1password/tools/chocolateyUninstall.ps1 +++ b/automatic/1password/tools/chocolateyUninstall.ps1 @@ -9,7 +9,7 @@ if ($key.Count -eq 1) { $packageArgs = @{ packageName = $packageName fileType = 'EXE' - silentArgs = @{"1password4" = '/SILENT'; "1password" = 'uninstall' }[$env:ChocolateyPackageName] + silentArgs = 'uninstall' validExitCodes = @(0) file = "$($_.UninstallString -replace ' uninstall')" }