File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed
Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -36,6 +36,8 @@ $registryPath = "C:\ProgramData\antctl\node_registry.json"
3636$antctlDir = " C:\ProgramData\antctl"
3737$antnodeLogsDir = " C:\ProgramData\antnode"
3838$launchpadExe = " C:\Users\Chris\AppData\Local\Microsoft\WindowsApps\node-launchpad.exe"
39+ $antnodeExe = " C:\Users\Chris\AppData\Local\Microsoft\WindowsApps\antnode.exe"
40+ $antctlExe = " C:\Users\Chris\AppData\Local\Microsoft\WindowsApps\antctl.exe"
3941$autonomiDir = " C:\Users\Chris\AppData\Roaming\autonomi"
4042
4143# Read node registry and stop/remove services
@@ -154,6 +156,22 @@ if (Test-Path $launchpadExe) {
154156 Write-Host " $launchpadExe does not exist. Skipping."
155157}
156158
159+ if (Test-Path $antnodeExe ) {
160+ Write-Host " Deleting $antnodeExe ..."
161+ Remove-Item - Path $antnodeExe - Force
162+ Write-Host " Deleted $antnodeExe ."
163+ } else {
164+ Write-Host " $antnodeExe does not exist. Skipping."
165+ }
166+
167+ if (Test-Path $antctlExe ) {
168+ Write-Host " Deleting $antctlExe ..."
169+ Remove-Item - Path $antctlExe - Force
170+ Write-Host " Deleted $antctlExe ."
171+ } else {
172+ Write-Host " $antctlExe does not exist. Skipping."
173+ }
174+
157175if (Test-Path $autonomiDir ) {
158176 Write-Host " Deleting $autonomiDir ..."
159177 Remove-Item - Path $autonomiDir - Recurse - Force
You can’t perform that action at this time.
0 commit comments