Documentation Index
Fetch the complete documentation index at: https://mintlify.com/devv-shayan/Trueears/llms.txt
Use this file to discover all available pages before exploring further.
Version sync
The version source of truth is theversion field in package.json. Before every production build, sync it to backend/tauri.conf.json:
npm run build, but you can run it manually after editing package.json.
Build
tauri build to produce platform installers.
Output locations
After a successful build, installers are in:Bundle targets
| Target | Format | Platform |
|---|---|---|
nsis | NSIS installer (.exe) | Windows |
msi | MSI installer (.msi) | Windows |
deb | Debian package (.deb) | Linux |
appimage | AppImage (.AppImage) | Linux |
Platform-specific requirements
Windows
- Visual Studio Build Tools 2019+
- Windows SDK
embedBootstrapper webview install mode bundles the WebView2 installer with the app, ensuring it works on systems without WebView2 pre-installed.
Linux
Install the required system packages before building:Environment variables for production
| Variable | Purpose |
|---|---|
TAURI_PRIVATE_KEY | Code signing private key (optional) |
TAURI_KEY_PASSWORD | Password for the signing key |
Code signing is optional for local builds but required for distribution via package managers or auto-update channels.
Release checklist
- Update the version in
package.json - Run
npm run sync-versionto propagate the version totauri.conf.json - Update
CHANGELOG.mdwith release notes - Run
npm run buildand verify the output - Test the installer on a clean machine
- Create a git tag:
git tag v<version> - Push with tags:
git push --tags
Troubleshooting
”WebView2 not found” on Windows
TheembedBootstrapper mode handles this automatically. If the error persists, users can install WebView2 manually from Microsoft’s WebView2 page.
Rust build errors
Ensure the Rust toolchain is up to date:Icon not appearing
Verify the following icon files exist before building:| File | Platform |
|---|---|
build/icon.ico | Windows (256×256 minimum) |
build/icon.png | Linux |
build/icon.icns | macOS |
