From c1e94d4dd9a159065e1ae816fbb9620badf56bce Mon Sep 17 00:00:00 2001
From: dongsheng123132 <90887123+dongsheng123132@users.noreply.github.com>
Date: Tue, 10 Mar 2026 22:55:20 +0800
Subject: [PATCH] feat: add navigation page and rename scripts to English
prefixes
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
- Add U-Claw.html navigation page with OS auto-detection and live status
- Rename scripts: start → Mac-Start/Windows-Start, menu → Mac-Menu/Windows-Menu
- Update installer scripts to reference new v2 directory structure (app/core)
- Update .gitignore to exclude build artifacts and marketing assets
---
.gitignore | 6 +
portable/{menu.command => Mac-Menu.command} | 0
portable/{start.command => Mac-Start.command} | 0
portable/U-Claw.html | 194 ++++++++++++++++++
portable/{menu.bat => Windows-Menu.bat} | 0
portable/{start.bat => Windows-Start.bat} | 0
uclaw-scripts/Mac-安装并启动.command | 6 +-
uclaw-scripts/Windows-安装并启动.bat | 12 +-
8 files changed, 209 insertions(+), 9 deletions(-)
rename portable/{menu.command => Mac-Menu.command} (100%)
rename portable/{start.command => Mac-Start.command} (100%)
create mode 100644 portable/U-Claw.html
rename portable/{menu.bat => Windows-Menu.bat} (100%)
rename portable/{start.bat => Windows-Start.bat} (100%)
diff --git a/.gitignore b/.gitignore
index d92a73a..a8bd817 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,5 +1,11 @@
# U-Claw build output bundle (generated release artifact)
U-Claw/
+U-Claw-v2/
+
+# Marketing assets
+marketing/
+marketing.zip
+social-assets/
# OpenClaw source (users download separately)
openclaw-2026.3.7/
diff --git a/portable/menu.command b/portable/Mac-Menu.command
similarity index 100%
rename from portable/menu.command
rename to portable/Mac-Menu.command
diff --git a/portable/start.command b/portable/Mac-Start.command
similarity index 100%
rename from portable/start.command
rename to portable/Mac-Start.command
diff --git a/portable/U-Claw.html b/portable/U-Claw.html
new file mode 100644
index 0000000..0098ba6
--- /dev/null
+++ b/portable/U-Claw.html
@@ -0,0 +1,194 @@
+
+
+
+
+
+U-Claw 虾盘 - 启动导航
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
🚀 快速启动
+
+
1
+
双击 Mac-Start.command
+
+
+
2
+
浏览器自动打开,在网页里配置 AI 模型和 API Key
+
+
⚠️ 首次运行如果提示"无法验证开发者":右键点击 → 打开
+
+
+
+
⚙️ 全部功能(配置/诊断/备份)
+
双击 Mac-Menu.command 打开全功能菜单:
+
+
+
+
+
+
+
+
🚀 快速启动
+
+
1
+
双击 Windows-Start.bat
+
+
+
2
+
浏览器自动打开,在网页里配置 AI 模型和 API Key
+
+
⚠️ 如果弹出安全警告:点击"更多信息" → "仍要运行"
+
+
+
+
⚙️ 全部功能(配置/诊断/备份)
+
双击 Windows-Menu.bat 打开全功能菜单:
+
+
+
+
+
+
🤖 支持的 AI 模型(国内免翻墙)
+
+
+
📖 更多资料
+
+
+
+
+
+
+
+
+
diff --git a/portable/menu.bat b/portable/Windows-Menu.bat
similarity index 100%
rename from portable/menu.bat
rename to portable/Windows-Menu.bat
diff --git a/portable/start.bat b/portable/Windows-Start.bat
similarity index 100%
rename from portable/start.bat
rename to portable/Windows-Start.bat
diff --git a/uclaw-scripts/Mac-安装并启动.command b/uclaw-scripts/Mac-安装并启动.command
index 685f34b..9635f66 100755
--- a/uclaw-scripts/Mac-安装并启动.command
+++ b/uclaw-scripts/Mac-安装并启动.command
@@ -35,7 +35,7 @@ if [ ! -f "$ARCHIVE" ]; then
fi
# 检查是否已安装
-if [ -d "$INSTALL_DIR/openclaw/node_modules" ]; then
+if [ -d "$INSTALL_DIR/app/core/node_modules" ]; then
echo -e " ${GREEN}检测到已安装的 U-Claw${NC}"
echo " 位置: $INSTALL_DIR"
echo ""
@@ -55,7 +55,7 @@ if [ -d "$INSTALL_DIR/openclaw/node_modules" ]; then
fi
# 解压(如果需要)
-if [ ! -d "$INSTALL_DIR/openclaw/node_modules" ]; then
+if [ ! -d "$INSTALL_DIR/app/core/node_modules" ]; then
echo ""
echo -e " ${CYAN}正在解压 U-Claw 到 $INSTALL_DIR ...${NC}"
echo " 这可能需要 30-60 秒,请稍等..."
@@ -83,4 +83,4 @@ echo -e " ${CYAN}正在启动 OpenClaw...${NC}"
echo ""
cd "$INSTALL_DIR"
-exec bash "$INSTALL_DIR/Mac-从U盘启动.command"
+exec bash "$INSTALL_DIR/Mac-Start.command"
diff --git a/uclaw-scripts/Windows-安装并启动.bat b/uclaw-scripts/Windows-安装并启动.bat
index 6d87da6..89e3c04 100644
--- a/uclaw-scripts/Windows-安装并启动.bat
+++ b/uclaw-scripts/Windows-安装并启动.bat
@@ -1,5 +1,5 @@
@echo off
-chcp 65001 >nul 2>&1
+chcp 65001 >/dev/null 2>&1
title U-Claw - Install and Launch
echo.
@@ -23,7 +23,7 @@ if not exist "%ARCHIVE%" (
)
REM Check if already installed
-if exist "%INSTALL_DIR%\openclaw\node_modules" (
+if exist "%INSTALL_DIR%\app\core\node_modules" (
echo U-Claw already installed at: %INSTALL_DIR%
echo.
echo [1] Launch directly (skip extract)
@@ -33,7 +33,7 @@ if exist "%INSTALL_DIR%\openclaw\node_modules" (
if "%choice%"=="2" (
echo.
echo Reinstalling...
- rmdir /s /q "%INSTALL_DIR%" >nul 2>&1
+ rmdir /s /q "%INSTALL_DIR%" >/dev/null 2>&1
) else (
echo.
echo Launching...
@@ -47,7 +47,7 @@ echo Extracting U-Claw to %INSTALL_DIR% ...
echo This may take 1-2 minutes...
echo.
-where tar >nul 2>&1
+where tar >/dev/null 2>&1
if %errorlevel%==0 (
cd /d "%USERPROFILE%"
tar xzf "%ARCHIVE%"
@@ -62,7 +62,7 @@ if %errorlevel%==0 (
echo Please extract U-Claw.tar.gz manually using 7-Zip or WinRAR
echo Extract to: %USERPROFILE%
echo.
- echo Then run: %INSTALL_DIR%\Windows-从U盘启动.bat
+ echo Then run: %INSTALL_DIR%\Windows-Start.bat
pause
exit /b 1
)
@@ -76,4 +76,4 @@ echo Starting OpenClaw...
echo.
cd /d "%INSTALL_DIR%"
-call "%INSTALL_DIR%\Windows-从U盘启动.bat"
+call "%INSTALL_DIR%\Windows-Start.bat"
\ No newline at end of file