Skip to content

Commit 2068b54

Browse files
authored
增加一个退出虚拟环境
增加一个退出虚拟环境
1 parent e871f02 commit 2068b54

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

autorun.ps1

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,8 @@ if (-not $pm2 -or -not $nodeExe) {
208208
Write-Host "已创建/更新每 24 小时更新任务:$taskUpdate" -ForegroundColor Yellow
209209
}
210210

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

0 commit comments

Comments
 (0)