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 26, 2025
commit 2068b548cba275598b3aaba18b2e1054784ea8f0
2 changes: 2 additions & 0 deletions autorun.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,8 @@ if (-not $pm2 -or -not $nodeExe) {
Write-Host "已创建/更新每 24 小时更新任务:$taskUpdate" -ForegroundColor Yellow
}

# ------ 退出虚拟环境 ------
deactivate
# ---------- 完成 ----------
$ip = (ipconfig | Select-String "IPv4 地址" | Select-Object -First 1).ToString().Split(":")[-1].Trim()
$public = (Invoke-RestMethod "https://ipinfo.io/ip")
Expand Down