You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1.**Capacitor APK path** (web-asset runtime, stable for reader/visualization workflows).
167
167
2.**Tauri Android path** (native shell pipeline aligned with `docs/tauri_brainstorming.md`).
168
168
169
+
Build/release/runtime details are audited in:
170
+
171
+
-`docs/en/multi_platform_build_flow_audit.md`
172
+
-`docs/zh/multi_platform_build_flow_audit.md`
173
+
169
174
#### Prerequisites
170
175
171
176
-**Node.js** (LTS)
172
-
-**Java JDK** (17 or higher)
177
+
-**Java JDK** (21 or higher)
173
178
-**Android SDK** (Configured in `ANDROID_HOME` or via Android Studio)
174
179
175
180
#### Method A: Capacitor Build (Stable)
@@ -224,8 +229,8 @@ npm run tauri:android:build
224
229
225
230
#### Mobile Capability Boundary
226
231
227
-
- Capacitor path currently packages web assets and does not embed the local Node sidecar workflow (`/api/build`, `/api/folders`, `/api/content`).
228
-
- Tauri Android path is provided as the native-shell migration route and should be used when mobile-side parity with the Tauri architecture is required.
232
+
- Capacitor packaging path does not embed the desktop Node sidecar workflow, but native Capacitor runtime can still build graph payloads locally when Filesystem APIs are available and the dataset stays within mobile limits.
233
+
- Tauri Android path provides the native-shell runtime route and uses Android-native `build_graph_runtime` when mobile-side parity with the Tauri architecture is required.
229
234
230
235
### 3. Usage Guide
231
236
@@ -327,12 +332,19 @@ max_doc_bytes = 100663296
327
332
328
333
## 🏗️ Build & Deployment
329
334
330
-
For developers building from source, NoteConnection offers two build modes:
335
+
For developers building from source, NoteConnection now defaults to the runtime-first path:
331
336
332
337
- **Electron desktop pipeline was removed on 2026-03-01 (deprecated and decommissioned).**
333
338
334
-
- **Tauri Full Build (`npm run tauri:build`)**: Builds desktop package with full frontend assets.
335
-
- **Tauri Mini Build (`npm run tauri:build:mini`)**: Builds desktop package excluding large pre-generated graph data files.
339
+
- **Tauri Build (`npm run tauri:build`)**: Default desktop package path. Uses runtime-first assets and excludes pre-generated graph payloads.
340
+
- **Tauri Mini Build (`npm run tauri:build:mini`)**: Legacy-compatible alias of the same runtime-first packaging path.
341
+
- **Tauri Full Graph Build (`npm run tauri:build:full`)**: Explicit opt-in path for including generated graph assets when real files are present locally.
342
+
- **Build (`npm run build`)**: Default runtime-first frontend build.
343
+
- **Build Full Graph Assets (`npm run build:full`)**: Explicit opt-in frontend build for local/demo scenarios that need pre-generated graph assets.
344
+
- **Godot Bootstrap** (`npm run prepare:godot:bin`): materializes the host Godot sidecar from local overrides/search paths, cache, or a pinned download URL.
345
+
- **Desktop Release Godot Mirror**: release CI now seeds a project-controlled GitHub Releases mirror tag for Godot archives, then downloads mirror-first with upstream fallback.
346
+
- **LFS Policy Guard** (`npm run verify:lfs:policy`): blocks new Git LFS drift under `src/frontend/` and `src-tauri/bin/`while migration still carries legacy exemptions. Future strict mode is available via `npm run verify:lfs:policy:strict`.
347
+
- **Sidecar Supply Readiness** (`npm run verify:sidecar:supply`): reports whether the current desktop host is offline-ready or still network-dependent before shrinking the remaining sidecar LFS bridge.
336
348
- **GPU Dev Start (`npm run tauri:dev:mini:gpu`)**: Recommended GPU-enabled Tauri development command.
337
349
- **Do not use**`npm run tauri:dev:mini --gpu` because npm treats `--gpu` as config and prints warnings.
338
350
@@ -349,6 +361,8 @@ For developers building from source, NoteConnection offers two build modes:
349
361
- Recommended lookup entry points:
350
362
- Users: `/diataxis/zh/tutorials/first-run/` or `/diataxis/en/tutorials/first-run/`
351
363
- Developers: `/diataxis/en/reference/interfaces-and-runtime/` and `/diataxis/en/reference/release-and-governance/`
0 commit comments