mirror of
https://github.com/tauri-apps/tauri.git
synced 2026-04-03 10:11:15 +02:00
1.1 KiB
1.1 KiB
title
| title |
|---|
| Debian packages |
import Alert from '@theme/Alert'
Tauri allows your app to be packaged as a .deb (Debian package) file.
Bootstrapper
Instead of launching the app directly, you can configure the bundled app to run a script that tries to expose the environment variables to the app; without that you'll have trouble using system programs because the PATH environment variable isn't correct. Enable it with the useBootstrapper config.
Custom files
To include custom files to the debian package, you can configure a mapping on tauri.conf.json > tauri > bundle > deb > files as follows:
{
"tauri": {
"bundle": {
"deb": {
"files": {
"/usr/lib/README.md": "../README.md", // copies the README.md file to /usr/lib/README.md
"usr/lib/assets": "../public/" // copies the entire public directory to /usr/lib/assets
}
}
}
}
}