File: chocolateyUninstall.ps1

package info (click to toggle)
syncthing-gtk 0.9.4.4%2Bds%2Bgit20201209%2Bc46fbd8-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 3,260 kB
  • sloc: python: 7,592; sh: 259; xml: 115; makefile: 2
file content (13 lines) | stat: -rw-r--r-- 412 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
$packageName = 'syncthing-gtk'
$installerType = 'EXE'
$silentArgs = '/S'
$path = "$env:ProgramFiles\SyncthingGTK"
$path86 = "${env:ProgramFiles(x86)}\SyncthingGTK"

if (Test-Path $path) {
    Uninstall-ChocolateyPackage $packageName $installerType $silentArgs "$path\uninstaller.exe"
}

if (Test-Path $path86) {
    Uninstall-ChocolateyPackage $packageName $installerType $silentArgs "$path86\uninstaller.exe"
}