@distromate/tauri
v0.1.7
Published
Build Tauri apps with DistroMate packaging and publishing
Downloads
564
Maintainers
Readme
@distromate/tauri
Build Tauri desktop apps through distromate with Tauri as the host build tool.
Install
npm install -D @distromate/cli @distromate/tauri @tauri-apps/cliUsage
Point distromate.yaml at the builder plugin and keep Tauri-specific overrides in source.options:
source:
type: adapter
plugin: tauri
options:
projectDir: .
target: x86_64-pc-windows-msvc
tauriArgs:
- --features
- custom-protocol
publish:
appId: "70253487"
channel: stable
package:
publisher: Demo Inc.Run DistroMate directly:
distromate package -v 1.2.3
distromate publish -v 1.2.3Installing @distromate/tauri adds the dm-plugin-tauri command. distromate no longer installs plugins for you.
Behavior
- runs
tauri build --no-bundle - stages the runtime layout that Tauri expects on the host platform under
.distromate/work/ - derives app metadata, binary paths, icons, resources, and sidecars from Tauri config and Cargo metadata
- writes DistroMate package artifacts to the same native Tauri build directory unless
outputDiris overridden - returns prepared native source metadata plus inferred DistroMate defaults over JSON/stdio so
distromatecontinues the package or publish flow
Notes
- host-native only: target OS and arch must match the current machine
- plugin-specific overrides go under
source.options - relative
icon,extraFiles,extraResources, signing paths,outputDir,source.options.configPath,source.options.targetDir, andsource.options.cliPathvalues resolve from the config file location - Tauri's native updater and installer bundlers stay out of scope; DistroMate owns the final installer and update flow
