mirror of
https://github.com/zhayujie/chatgpt-on-wechat.git
synced 2026-06-02 09:48:22 +08:00
fix: avoid stale cow.exe on Windows by spawing fresh process
This commit is contained in:
@@ -453,7 +453,11 @@ function Update-Project {
|
||||
|
||||
Assert-Python
|
||||
Install-Dependencies
|
||||
Start-CowAgent
|
||||
|
||||
# Start via python -m cli.cli instead of cow.exe, because the exe may
|
||||
# still be cached/locked from the previous installation on Windows.
|
||||
Write-Cow "Starting CowAgent..."
|
||||
& $PythonCmd -m cli.cli start
|
||||
}
|
||||
|
||||
# ── main ──────────────────────────────────────────────────────────
|
||||
|
||||
Reference in New Issue
Block a user