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>
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
2c40858663
commit
a3f18bdab6
+1
-3
@@ -20,9 +20,7 @@ pkgbuild: setup-icons
|
||||
setup-icons:
|
||||
@echo "==> Setting up icons..."
|
||||
@mkdir -p $(EDITOR)/assets/icons
|
||||
@cp -u $(REPO_ROOT)/src-tauri/icons/32x32.png $(EDITOR)/assets/icons/ 2>/dev/null || true
|
||||
@cp -u $(REPO_ROOT)/src-tauri/icons/128x128.png $(EDITOR)/assets/icons/ 2>/dev/null || true
|
||||
@cp -u $(REPO_ROOT)/src-tauri/icons/icon.png $(EDITOR)/assets/icons/256x256.png 2>/dev/null || true
|
||||
@# Icons are committed under $(EDITOR)/assets/icons (32x32, 128x128, 256x256, icon.icns).
|
||||
@echo " Icons ready"
|
||||
|
||||
clean:
|
||||
|
||||
Reference in New Issue
Block a user