remove(desktop): drop Electron desktop pet, keep CLI only
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user