chore: update reset scripts and docs for dev data directory

- dev:desktop:reset now cleans both ~/.super-multica and ~/.super-multica-dev
- reset-user-data.sh handles dev directory
- .env.example documents SMC_DATA_DIR

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Jiayuan Zhang 2026-02-15 00:39:25 +08:00
parent ca8c8e5e9c
commit 9e40e8ca76
3 changed files with 17 additions and 1 deletions

View file

@ -15,6 +15,15 @@ else
echo " $MULTICA_DATA_DIR does not exist, skipping"
fi
# Dev data directory (used by pnpm dev:local)
MULTICA_DEV_DIR="$HOME/.super-multica-dev"
if [ -d "$MULTICA_DEV_DIR" ]; then
echo " Removing $MULTICA_DEV_DIR"
rm -rf "$MULTICA_DEV_DIR"
else
echo " $MULTICA_DEV_DIR does not exist, skipping"
fi
# Electron app data (macOS)
if [[ "$OSTYPE" == "darwin"* ]]; then
ELECTRON_APP_DATA="$HOME/Library/Application Support/super-multica"