fix(crabbox): share Windows hydrate handoff path · openclaw/openclaw@f354889
vincentkoc
·
2026-06-23
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -490,7 +490,7 @@ jobs:
|
490 | 490 | if (-not $env:CRABBOX_ID -or $env:CRABBOX_ID -notmatch '^[A-Za-z0-9._-]+$') { |
491 | 491 | Write-Error "Invalid crabbox_id" |
492 | 492 | } |
493 | | - $actionsRoot = Join-Path $HOME ".crabbox\actions" |
| 493 | + $actionsRoot = "C:\ProgramData\crabbox\actions" |
494 | 494 | New-Item -ItemType Directory -Force $actionsRoot | Out-Null |
495 | 495 | $state = Join-Path $actionsRoot "$env:CRABBOX_ID.env" |
496 | 496 | $envFile = Join-Path $actionsRoot "$env:CRABBOX_ID.env.ps1" |
@@ -546,7 +546,7 @@ jobs:
|
546 | 546 | if ($env:CRABBOX_KEEP_ALIVE_MINUTES -match '^[0-9]+$') { |
547 | 547 | $minutes = [int]$env:CRABBOX_KEEP_ALIVE_MINUTES |
548 | 548 | } |
549 | | - $stop = Join-Path $HOME ".crabbox\actions\$env:CRABBOX_ID.stop" |
| 549 | + $stop = Join-Path "C:\ProgramData\crabbox\actions" "$env:CRABBOX_ID.stop" |
550 | 550 | $deadline = (Get-Date).AddMinutes($minutes) |
551 | 551 | while ((Get-Date) -lt $deadline) { |
552 | 552 | if (Test-Path $stop) { |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。