Snap packager for Tauri.
NOTE: This will only work on Ubuntu 18.04 or older versions. See this issue.
- Add
tauri-snap-packager
to your tauri project root.
npm install --save-dev tauri-snap-packager
# Or with yarn
yarn add --dev tauri-snap-packager
-
Run tauri build.
-
Add the build script to package.json. (This step can be skipped if using
yarn
)
"scripts": {
"tauri-snap-packager": "tauri-snap-packager"
}
- Package!
npm run tauri-snap-packager
# Or with yarn
yarn tauri-snap-packager