1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-01 16:12:49 -05:00

[BEEEP] Bitwarden Script uninstall option (#1796)

Co-authored-by: Vince Grassia <593223+vgrassia@users.noreply.github.com>
This commit is contained in:
Micaiah Martin
2022-02-23 14:35:36 -06:00
committed by GitHub
parent 52ddf55029
commit 156e10da0e
5 changed files with 95 additions and 0 deletions

View File

@ -10,6 +10,7 @@ param (
[switch] $updatedb,
[switch] $updaterun,
[switch] $updateself,
[switch] $uninstall,
[switch] $help,
[string] $output = ""
)
@ -68,6 +69,7 @@ Available commands:
-updaterun
-updateself
-updateconf
-uninstall
-renewcert
-rebuild
-help
@ -155,6 +157,10 @@ elseif ($updateself) {
Get-Self
Write-Line "Updated self."
}
elseif ($uninstall) {
Test-Output-Dir-Exists
Invoke-Expression "& `"$scriptsDir\run.ps1`" -uninstall -outputDir `"$output`" "
}
elseif ($help) {
Show-Commands
}