mirror of
https://github.com/mitb-archive/filebot
synced 2024-11-02 08:25:02 -04:00
* properly support 'cuninst filebot'
This commit is contained in:
parent
9c41231af1
commit
ec73e35dc1
9
installer/chocolatey/tools/chocolateyUninstall.ps1
Normal file
9
installer/chocolatey/tools/chocolateyUninstall.ps1
Normal file
@ -0,0 +1,9 @@
|
||||
$app = Get-WmiObject -Query "SELECT * FROM Win32_Product WHERE Name = 'FileBot'"
|
||||
echo $app
|
||||
|
||||
if ($app -eq $null) {
|
||||
echo 'FileBot is not installed.'
|
||||
} else {
|
||||
$app.Uninstall()
|
||||
echo 'FileBot has been uninstalled.'
|
||||
}
|
Loading…
Reference in New Issue
Block a user