Makes tauri-plugin-updater and tauri-plugin-process optional dependencies enabled by a default-on `updater` Cargo feature. Sandboxed packaging targets (Flatpak, Snap) will build with `--no-default-features` to exclude the plugins entirely, satisfying store policies that prohibit competing auto-updaters. Changes: - Cargo.toml: add `updater` feature; plugins are now optional deps - lib.rs: gate plugin registration on the feature - updates/mod.rs: is_auto_update_eligible() returns false when the feature is off (catch-all for unusual build configs) - capabilities/default.json: remove updater/process permissions - build.rs: emit capabilities/auto-updater.json only when the feature is enabled; remove it otherwise. The file is gitignored since it is fully build-driven. cc
81 lines
1.1 KiB
Plaintext
81 lines
1.1 KiB
Plaintext
# Dependencies
|
|
node_modules/
|
|
|
|
# Build outputs
|
|
build/
|
|
dist/
|
|
/package
|
|
|
|
# Rust
|
|
target/
|
|
|
|
# IDE
|
|
.idea/
|
|
.vscode/
|
|
*.swp
|
|
*.swo
|
|
|
|
# OS
|
|
.DS_Store
|
|
Thumbs.db
|
|
|
|
# Environment
|
|
.env
|
|
.env.*
|
|
!.env.example
|
|
|
|
# Logs
|
|
*.log
|
|
npm-debug.log*
|
|
snapcraft-*.txt
|
|
|
|
# Tauri
|
|
src-tauri/target/
|
|
# Generated by build.rs based on `updater` Cargo feature
|
|
src-tauri/capabilities/auto-updater.json
|
|
|
|
# Svelte
|
|
.svelte-kit/
|
|
|
|
# Vite
|
|
vite.config.js.timestamp-*
|
|
vite.config.ts.timestamp-*
|
|
|
|
# Flatpak build artifacts
|
|
flatpak-build/
|
|
flatpak-repo/
|
|
.flatpak-builder/
|
|
packaging/flatpak/build/
|
|
packaging/flatpak/repo/
|
|
packaging/flatpak/.flatpak-builder/
|
|
|
|
# Release artifacts
|
|
*.AppImage
|
|
*.deb
|
|
*.rpm
|
|
*.flatpak
|
|
*.snap
|
|
/packaging/snap/parts/
|
|
/packaging/snap/prime/
|
|
/packaging/snap/stage/
|
|
*.tar.gz
|
|
*.tar.xz
|
|
|
|
# Image upscaler outputs
|
|
static/*upscayl*
|
|
|
|
# Local build temp
|
|
/.tmp/
|
|
/tmp/
|
|
/tools/
|
|
|
|
# Documentation (kept external)
|
|
qbz-nix-docs/
|
|
|
|
# AI agent instructions and planning docs (untracked)
|
|
.github/copilot-instructions.md
|
|
docs/superpowers/
|
|
/crates/target/
|
|
# /crates/Cargo.lock # tracked for reproducible qbzd CI builds
|
|
test-results/
|