You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{ property: "digestAlgorithm", optional: true, type: "string", description: `Specifies the file digest algorithm to use for creating file signatures. Required for code signing. SHA-256 is recommended.` },
159
160
{ property: "certificateThumbprint", optional: true, type: "string[]", description: `Specifies the SHA1 hash of the signing certificate.` },
160
-
{ property: "timestampUrl", optional: true, type: "string[]", description: `Server to use during timestamping.` }]} />
161
+
{ property: "timestampUrl", optional: true, type: "string[]", description: `Server to use during timestamping.` },
{ property: "fragmentPaths", optional: true, type: "string[]", description: `A list of paths to .wxs files with WiX fragments to use.` },
165
+
{ property: "componentGroupRefs", optional: true, type: "string[]", description: `The ComponentGroup element ids you want to reference from the fragments.` },
166
+
{ property: "componentRefs", optional: true, type: "string[]", description: `The Component element ids you want to reference from the fragments.` },
167
+
{ property: "featureGroupRefs", optional: true, type: "string[]", description: `The FeatureGroup element ids you want to reference from the fragments.` },
168
+
{ property: "featureRefs", optional: true, type: "string[]", description: `The Feature element ids you want to reference from the fragments.` },
169
+
{ property: "mergeRefs", optional: true, type: "string[]", description: `The Merge element ids you want to reference from the fragments.` },
170
+
{ property: "skipWebviewInstall", optional: true, type: "boolean", description: `Disables the Webview2 runtime installation after app install.` }]} />
{ property: "frameworks", optional: true, type: "string[]", description: `A list of strings indicating any macOS X frameworks that need to be bundled with the application. If a name is used, ".framework" must be omitted and it will look for standard install locations. You may also use a path to a specific framework.` },
Tauri allows your app to be packaged as a `.deb` (Debian package) file.
8
+
9
+
# Bootstrapper
10
+
11
+
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 <ahref="/docs/api/config#tauri.bundle.deb.useBootstrapper">`useBootstrapper`</a> config.
12
+
13
+
# Custom files
14
+
15
+
To include custom files to the debian package, you can configure a mapping on `tauri.conf.json > tauri > bundle > deb > files` as follows:
16
+
17
+
```json
18
+
{
19
+
"tauri": {
20
+
"bundle": {
21
+
"deb": {
22
+
"files": {
23
+
"/usr/lib/README.md": "../README.md", // copies the README.md file to /usr/lib/README.md
24
+
"usr/lib/assets": "../public/"// copies the entire public directory to /usr/lib/assets
25
+
}
26
+
}
27
+
}
28
+
}
29
+
}
30
+
```
31
+
32
+
<Alerttitle="Note"icon="info-alt">
33
+
Each `files` object key is the path on the debian package, and the value is a path to a file or directory relative to the `tauri.conf.json` file.
Tauri allows your app to be packaged as a `.deb` (Debian package) file.
8
+
9
+
# Bootstrapper
10
+
11
+
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 <ahref="/docs/api/config#tauri.bundle.deb.useBootstrapper">`useBootstrapper`</a> config.
12
+
13
+
# Custom files
14
+
15
+
To include custom files to the debian package, you can configure a mapping on `tauri.conf.json > tauri > bundle > deb > files` as follows:
16
+
17
+
```json
18
+
{
19
+
"tauri": {
20
+
"bundle": {
21
+
"deb": {
22
+
"files": {
23
+
"/usr/lib/README.md": "../README.md", // copies the README.md file to /usr/lib/README.md
24
+
"usr/lib/assets": "../public/"// copies the entire public directory to /usr/lib/assets
25
+
}
26
+
}
27
+
}
28
+
}
29
+
}
30
+
```
31
+
32
+
<Alerttitle="Note"icon="info-alt">
33
+
Each `files` object key is the path on the debian package, and the value is a path to a file or directory relative to the `tauri.conf.json` file.
0 commit comments