remove(desktop): drop Electron desktop pet, keep CLI only

This commit is contained in:
Zhengshou Lai
2026-05-27 11:23:14 +08:00
parent 36773025b3
commit 72e27f9f6b
23 changed files with 2 additions and 6413 deletions
+1 -18
View File
@@ -3,15 +3,13 @@ VENV_MYCLAUDE := $(ROOT_DIR)/.venv/bin/myclaude
USER_LOCAL_MYCLAUDE := $(HOME)/.local/bin/myclaude
COMP_DIR := $(HOME)/.local/bin/completions
.PHONY: help install uninstall app _symlink-myclaude _install-completions _uninstall-completions
.PHONY: help install uninstall _symlink-myclaude _install-completions _uninstall-completions
help:
@echo "Usage: make [target]"
@echo ""
@echo " install Sync venv, symlink bin, install completions"
@echo " uninstall Remove bin and completions"
@echo " app Build desktop pet as macOS .app"
install:
@cd "$(ROOT_DIR)" && \
if command -v uv >/dev/null 2>&1; then \
@@ -39,18 +37,3 @@ _uninstall-completions:
@rm -f "$(COMP_DIR)/_myclaude" "$(COMP_DIR)/myclaude.bash"
@echo "Removed completions"
app:
@cd "$(ROOT_DIR)/desktop" && \
if [ ! -d "node_modules" ]; then \
echo "Installing desktop dependencies..."; \
npm install; \
fi && \
echo "Rebuilding native modules for Electron..." && \
npx electron-rebuild && \
echo "Building and packaging..." && \
npm run pack && \
echo "" && \
echo "Done. .app bundle:" && \
ls -d "$(ROOT_DIR)/desktop/release"/*/*.app 2>/dev/null || \
ls -d "$(ROOT_DIR)/desktop/release"/*.app 2>/dev/null || \
echo "$(ROOT_DIR)/desktop/release/mac*/MyClaude.app"