A minimal template for building, validating, and releasing paid desktop applications continuously.
This template uses Tauri v2 + Vite + React + TypeScript.
npm install
npm run tauri devnpm run check
npm run build
npm run tauri buildOr run the bundled release check script:
bash scripts/release-check.shbash scripts/set-app-meta.sh \
"tauri_template" \
"com.example.tauri_template" \
"0.1.0"Arguments:
productNameidentifierversion
Then edit these files:
docs/APP_SPEC.mdsrc/App.tsxsrc-tauri/src/lib.rsREADME.md
The standard validation workflow runs on push and pull_request.
npm run check
cargo test --manifest-path src-tauri/Cargo.toml$env:Path = "C:\Program Files\nodejs;$env:USERPROFILE\.cargo\bin;$env:Path"
cd C:\Users\miked\anime_tag_vault
npm.cmd exec -- tauri info
npm.cmd exec -- tauri buildPush a tag such as v0.1.0 to create a GitHub Release draft and upload artifacts for each OS.
git tag v0.1.0
git push origin v0.1.0You can also run the release workflow manually:
- Open GitHub Actions.
- Select the
releaseworkflow. - Click
Run workflow.
