diff --git a/portable/Config.html b/portable/Config.html index 3619b80..ebd872d 100644 --- a/portable/Config.html +++ b/portable/Config.html @@ -613,7 +613,7 @@ async function launchOpenClaw() { } // 3. Launch - showToast('正在启动 OpenClaw...'); + showToast('配置已保存!请关闭此页面,回到启动窗口使用 U-Claw'); try { await fetch('/api/done', { method: 'POST' }); } catch(e) {} } diff --git a/portable/setup.bat b/portable/setup.bat index f417db3..5dd74aa 100644 --- a/portable/setup.bat +++ b/portable/setup.bat @@ -46,7 +46,7 @@ if !errorlevel! neq 0 ( echo 解压中... mkdir "%NODE_DIR%" 2>nul powershell -command "Expand-Archive -Path '%TEMP%\%NODE_ZIP%' -DestinationPath '%TEMP%\node-extract' -Force" -xcopy /s /e /q /y "%TEMP%\node-%NODE_VER%-win-x64\*" "%NODE_DIR%\" >nul +xcopy /s /e /q /y "%TEMP%\node-extract\node-%NODE_VER%-win-x64\*" "%NODE_DIR%\" >nul rmdir /s /q "%TEMP%\node-extract" 2>nul del "%TEMP%\%NODE_ZIP%" 2>nul diff --git a/u-claw-app/resources/Config.html b/u-claw-app/resources/Config.html index 3619b80..ebd872d 100644 --- a/u-claw-app/resources/Config.html +++ b/u-claw-app/resources/Config.html @@ -613,7 +613,7 @@ async function launchOpenClaw() { } // 3. Launch - showToast('正在启动 OpenClaw...'); + showToast('配置已保存!请关闭此页面,回到启动窗口使用 U-Claw'); try { await fetch('/api/done', { method: 'POST' }); } catch(e) {} } diff --git a/usb-release/Config.html b/usb-release/Config.html index 3619b80..ebd872d 100644 --- a/usb-release/Config.html +++ b/usb-release/Config.html @@ -613,7 +613,7 @@ async function launchOpenClaw() { } // 3. Launch - showToast('正在启动 OpenClaw...'); + showToast('配置已保存!请关闭此页面,回到启动窗口使用 U-Claw'); try { await fetch('/api/done', { method: 'POST' }); } catch(e) {} }