Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
配套的卸载升级
配套的卸载升级
  • Loading branch information
sanshu-rom authored Aug 29, 2025
commit bc0a8c4d2ce4caadbb8bfcccd71043dd2f3fa896
8 changes: 7 additions & 1 deletion install/uninstall.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,13 @@ try {
Write-Warning "清理 PM2 数据失败: $($_.Exception.Message)"
}

# ---------- 9. 完成 ----------
# ---------- 9. 删除配置文件(当前目录) ----------
Write-Host "删除配置文件..." -ForegroundColor Green
$confFile = Join-Path $PSScriptRoot "drpys-update.conf"
$pathFile = Join-Path $PSScriptRoot "drpys-path.txt"
Remove-Item -Path $confFile,$pathFile -Force -ErrorAction SilentlyContinue

# ---------- 10. 完成 ----------
Write-Host "drpys 卸载完成!" -ForegroundColor Green
if ($IncludeEnv) {
Write-Host "已卸载所有运行环境,建议重启计算机。" -ForegroundColor Yellow
Expand Down