Skip to content

Commit 91e7f61

Browse files
author
openclaw-installer-sync[bot]
committed
chore: sync installers from openclaw 2890b1a24ab1
1 parent 7565e81 commit 91e7f61

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

public/install.ps1

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -222,8 +222,7 @@ function Install-PortableNode {
222222
throw "Node.js archive did not contain node.exe."
223223
}
224224

225-
New-Item -ItemType Directory -Force -Path $portableRoot | Out-Null
226-
Move-Item -Path (Join-Path $nodeDir.FullName "*") -Destination $portableRoot -Force
225+
Move-Item -LiteralPath $nodeDir.FullName -Destination $portableRoot -Force
227226
} finally {
228227
if (Test-Path $tmpZip) {
229228
Remove-Item -Force $tmpZip

0 commit comments

Comments
 (0)