Files
Skyler LehmkuhlandClaude Opus 4.8 a3f18bdab6 Remove the legacy Tauri backend (src-tauri)
The shipping product is the pure-Rust app in lightningbeam-ui/; the old
JavaScript UI in src/ is browser-only (window.__TAURI__ is shimmed by
src/tauri_polyfill.js), so the src-tauri Tauri backend is dead. It also no
longer compiled (mid-refactor: missing video_server module, handler list
referencing deleted commands), and CI only ever built lightningbeam-ui.

- Delete src-tauri/ entirely (commands, native renderer/render-window,
  websocket frame streamers, Tauri config, generated schemas, icons).
- Relocate icon.icns into lightningbeam-ui/lightningbeam-editor/assets/icons/
  (the only src-tauri asset still needed) and repoint the editor's window-icon
  include_bytes! at assets/icons/256x256.png (was src-tauri/icons/icon.png).
- CI/packaging: drop the redundant icon-copy steps (PNGs are committed in the
  editor assets) and point macOS bundling at the relocated icns.
- package.json: drop @tauri-apps/* deps and the tauri script.
- Docs/.gitignore: drop src-tauri references.

daw-backend/ (shared audio engine) and the top-level WASM lightningbeam-core/
are untouched. Editor builds clean.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-21 18:25:39 -04:00

29 lines
839 B
Makefile

.PHONY: all deb rpm appimage pkgbuild setup-icons clean
SCRIPT_DIR := $(dir $(lastword $(MAKEFILE_LIST)))
REPO_ROOT := $(realpath $(SCRIPT_DIR)/..)
EDITOR := $(REPO_ROOT)/lightningbeam-ui/lightningbeam-editor
OUTPUT := $(SCRIPT_DIR)/output
all: deb rpm appimage
deb rpm appimage:
bash $(SCRIPT_DIR)/container-build.sh $@
pkgbuild: setup-icons
@echo "==> Building Arch package..."
cd $(SCRIPT_DIR)/arch && makepkg -sf
@mkdir -p $(OUTPUT)
cp $(SCRIPT_DIR)/arch/*.pkg.tar.zst $(OUTPUT)/ 2>/dev/null || true
@echo "==> Done: $(OUTPUT)/*.pkg.tar.zst"
setup-icons:
@echo "==> Setting up icons..."
@mkdir -p $(EDITOR)/assets/icons
@# Icons are committed under $(EDITOR)/assets/icons (32x32, 128x128, 256x256, icon.icns).
@echo " Icons ready"
clean:
rm -rf $(OUTPUT)
rm -f $(SCRIPT_DIR)/arch/*.pkg.tar.zst 2>/dev/null || true