feat: prepare Zhinian desktop client for pilot release
This commit is contained in:
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user