@distromate/wails
v0.1.6
Published
Build Wails apps with DistroMate packaging and publishing
Maintainers
Readme
@distromate/wails
Build Wails desktop apps through distromate with Wails as the host build tool.
Install
npm install -D @distromate/cli @distromate/wailswails must be available on your PATH.
Usage
Point distromate.yaml at the builder plugin and keep Wails-specific overrides in source.options:
source:
type: adapter
plugin: wails
options:
projectDir: .
platform: windows/amd64
outputName: DemoApp
wailsArgs:
- --webview2
- embed
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/wails adds the dm-plugin-wails command. distromate no longer installs plugins for you.
Behavior
- runs
wails build - derives output paths, product metadata, icons, and version info from
wails.jsonand the built artifact - writes DistroMate package artifacts to the same Wails build directory (
build/bin) unlessoutputDiris overridden - returns prepared native source metadata plus inferred DistroMate defaults over JSON/stdio so
distromatecontinues the package or publish flow
Notes
- host-native only: one platform per run, matching the current OS and architecture
- plugin-specific overrides go under
source.options - relative
icon,extraFiles,extraResources, signing paths,outputDir, andsource.options.cliPathvalues resolve from the config file location - DistroMate owns the final installer step; this plugin does not drive Wails native installer modes directly
