feat: prepare Zhinian desktop client for pilot release

This commit is contained in:
inman
2026-04-29 10:23:20 +08:00
parent f9361e686a
commit 47b83b79fc
149 changed files with 15341 additions and 3590 deletions

View File

@@ -283,9 +283,11 @@
_cu_pathDone:
; Ask user if they want to remove AppData (preserves .openclaw)
; Ask user if they want to remove AppData.
; IMPORTANT: never remove .openclaw. It may contain a user-managed OpenClaw
; installation, skills, channel state, and the app-managed fallback runtime.
MessageBox MB_YESNO|MB_ICONQUESTION \
"Do you want to remove ClawX application data?$\r$\n$\r$\nThis will delete:$\r$\n • AppData\Local\clawx (local app data)$\r$\n • AppData\Roaming\clawx (roaming app data)$\r$\n$\r$\nYour .openclaw folder (configuration & skills) will be preserved.$\r$\nSelect 'No' to keep all data for future reinstallation." \
"Do you want to remove ClawX application data?$\r$\n$\r$\nThis will delete:$\r$\n • AppData\Local\clawx (local app data)$\r$\n • AppData\Roaming\clawx (roaming app data)$\r$\n$\r$\nYour .openclaw folder (OpenClaw runtime, configuration, skills, and channel data) will be preserved.$\r$\nSelect 'No' to keep all data for future reinstallation." \
/SD IDNO IDYES _cu_removeData IDNO _cu_skipRemove
_cu_removeData:
@@ -303,7 +305,7 @@
Sleep 2000
; --- Always remove current user's AppData first ---
; NOTE: .openclaw directory is intentionally preserved (user configuration & skills)
; NOTE: .openclaw directory is intentionally preserved (OpenClaw runtime, user configuration, skills, and channel data)
RMDir /r "$LOCALAPPDATA\clawx"
RMDir /r "$APPDATA\clawx"