Skip to content

Commit 71b67ed

Browse files
jacderidaclaude
andcommitted
chore: clean up antnode.exe and antctl.exe in launchpad cleanup script
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent c087349 commit 71b67ed

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

resources/scripts/clean-launchpad-setup.ps1

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff 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+
157175
if (Test-Path $autonomiDir) {
158176
Write-Host "Deleting $autonomiDir..."
159177
Remove-Item -Path $autonomiDir -Recurse -Force

0 commit comments

Comments
 (0)