This commit is contained in:
team3
2026-09-22 13:28:52 +02:00
parent 2472e89b9c
commit acfe29dae7
4 changed files with 50 additions and 12 deletions

View File

@@ -1,4 +1,4 @@
# Extension: make install | make update
# Extension: make install | make update | make sync-files (Claude-Sitzungen sofort abgleichen)
# Server: make dev (lokal, Port $(PORT)) | make prod (auf dem Server) | make stop | make logs | make down | make test
# Android: make apk (bauen) | make apk-install (aufs Handy per USB)
UUID = desktop@marha.de
@@ -10,7 +10,7 @@ SYNC_URL = https://planer.marha.de
SYNC_JSON = $(HOME)/.local/share/desktop-app/sync.json
.ONESHELL:
.PHONY: install update enable sync-config reload venv dev prod stop logs down test apk apk-install
.PHONY: install update enable sync-config reload sync-files venv dev prod stop logs down test apk apk-install
install:
@if [ -e "$(DEST)" ]; then
@@ -62,6 +62,11 @@ reload:
echo "Extension neu gestartet."
fi
# Dateiabgleich (Claude-Sitzungen und Memory) sofort anstoßen, wartet bis er durch ist
sync-files:
@gdbus call --session --dest org.gnome.Shell --object-path /de/marha/desktop --method de.marha.Desktop.SyncFiles --timeout 3600 \
| sed -e "s/^('//" -e "s/',)$$//"
# ── Server ───────────────────────────────────────────────────────────────────
venv: $(VENV)/bin/uvicorn