We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents fb6238a + bc0a8c4 commit 5c61635Copy full SHA for 5c61635
install/uninstall.ps1
@@ -219,7 +219,13 @@ try {
219
Write-Warning "清理 PM2 数据失败: $($_.Exception.Message)"
220
}
221
222
-# ---------- 9. 完成 ----------
+# ---------- 9. 删除配置文件(当前目录) ----------
223
+Write-Host "删除配置文件..." -ForegroundColor Green
224
+$confFile = Join-Path $PSScriptRoot "drpys-update.conf"
225
+$pathFile = Join-Path $PSScriptRoot "drpys-path.txt"
226
+Remove-Item -Path $confFile,$pathFile -Force -ErrorAction SilentlyContinue
227
+
228
+# ---------- 10. 完成 ----------
229
Write-Host "drpys 卸载完成!" -ForegroundColor Green
230
if ($IncludeEnv) {
231
Write-Host "已卸载所有运行环境,建议重启计算机。" -ForegroundColor Yellow
0 commit comments