Fix Flatpak source build: binary paths, wasm skip, lockfile patching, metainfo

- Fix protoc paths (strip-components flattens archive structure)
- Patch lockfile at build time for nested workspace deps missing resolved URLs
- Skip wasm-pack build (pre-built wasm is checked into repo)
- Use cargo build directly instead of tauri CLI (avoids inotify limits)
- Fix binary name/path (yaak-app from workspace root target dir)
- Install icons from source tree instead of deb bundle
- Generate desktop file inline instead of extracting from deb
- Add metainfo as file source (not in tagged release yet)
- Add build-wasm.cjs script with SKIP_WASM_BUILD env var support
- Update generate-sources.sh to resolve nested node_modules deps
This commit is contained in:
Gregory Schier
2026-02-10 18:34:38 -08:00
parent ab5c541e69
commit 07435dd53d
4 changed files with 84 additions and 37 deletions
+1 -1
View File
@@ -6,7 +6,7 @@
"scripts": {
"bootstrap": "npm run build",
"build": "run-s build:*",
"build:pack": "wasm-pack build --target bundler",
"build:pack": "node ../../scripts/build-wasm.cjs",
"build:clean": "rimraf ./pkg/.gitignore"
},
"devDependencies": {