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
Copy file name to clipboardExpand all lines: core/tauri-config-schema/schema.json
+37Lines changed: 37 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1777,6 +1777,17 @@
1777
1777
"description": "Whether to display a language selector dialog before the installer and uninstaller windows are rendered or not. By default the OS language is selected, with a fallback to the first language in the `languages` array.",
1778
1778
"default": false,
1779
1779
"type": "boolean"
1780
+
},
1781
+
"compression": {
1782
+
"description": "Set the compression algorithm used to compress files in the installer.\n\nSee <https://nsis.sourceforge.io/Reference/SetCompressor>",
1783
+
"anyOf": [
1784
+
{
1785
+
"$ref": "#/definitions/NsisCompression"
1786
+
},
1787
+
{
1788
+
"type": "null"
1789
+
}
1790
+
]
1780
1791
}
1781
1792
},
1782
1793
"additionalProperties": false
@@ -1807,6 +1818,32 @@
1807
1818
}
1808
1819
]
1809
1820
},
1821
+
"NsisCompression": {
1822
+
"description": "Compression algorithms used in the NSIS installer.\n\nSee <https://nsis.sourceforge.io/Reference/SetCompressor>",
1823
+
"oneOf": [
1824
+
{
1825
+
"description": "ZLIB uses the deflate algorithm, it is a quick and simple method. With the default compression level it uses about 300 KB of memory.",
1826
+
"type": "string",
1827
+
"enum": [
1828
+
"zlib"
1829
+
]
1830
+
},
1831
+
{
1832
+
"description": "BZIP2 usually gives better compression ratios than ZLIB, but it is a bit slower and uses more memory. With the default compression level it uses about 4 MB of memory.",
1833
+
"type": "string",
1834
+
"enum": [
1835
+
"bzip2"
1836
+
]
1837
+
},
1838
+
{
1839
+
"description": "LZMA (default) is a new compression method that gives very good compression ratios. The decompression speed is high (10-20 MB/s on a 2 GHz CPU), the compression speed is lower. The memory size that will be used for decompression is the dictionary size plus a few KBs, the default is 8 MB.",
1840
+
"type": "string",
1841
+
"enum": [
1842
+
"lzma"
1843
+
]
1844
+
}
1845
+
]
1846
+
},
1810
1847
"AllowlistConfig": {
1811
1848
"description": "Allowlist configuration. The allowlist is a translation of the [Cargo allowlist features](https://docs.rs/tauri/latest/tauri/#cargo-allowlist-features).\n\n# Notes\n\n- Endpoints that don't have their own allowlist option are enabled by default. - There is only \"opt-in\", no \"opt-out\". Setting an option to `false` has no effect.\n\n# Examples\n\n- * [`\"app-all\": true`](https://tauri.app/v1/api/config/#appallowlistconfig.all) will make the [hide](https://tauri.app/v1/api/js/app#hide) endpoint be available regardless of whether `hide` is set to `false` or `true` in the allowlist.",
/// ZLIB uses the deflate algorithm, it is a quick and simple method. With the default compression level it uses about 300 KB of memory.
449
+
Zlib,
450
+
/// BZIP2 usually gives better compression ratios than ZLIB, but it is a bit slower and uses more memory. With the default compression level it uses about 4 MB of memory.
451
+
Bzip2,
452
+
/// LZMA (default) is a new compression method that gives very good compression ratios. The decompression speed is high (10-20 MB/s on a 2 GHz CPU), the compression speed is lower. The memory size that will be used for decompression is the dictionary size plus a few KBs, the default is 8 MB.
453
+
Lzma,
454
+
}
455
+
441
456
/// Configuration for the Installer bundle using NSIS.
Copy file name to clipboardExpand all lines: tooling/cli/schema.json
+37Lines changed: 37 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1777,6 +1777,17 @@
1777
1777
"description": "Whether to display a language selector dialog before the installer and uninstaller windows are rendered or not. By default the OS language is selected, with a fallback to the first language in the `languages` array.",
1778
1778
"default": false,
1779
1779
"type": "boolean"
1780
+
},
1781
+
"compression": {
1782
+
"description": "Set the compression algorithm used to compress files in the installer.\n\nSee <https://nsis.sourceforge.io/Reference/SetCompressor>",
1783
+
"anyOf": [
1784
+
{
1785
+
"$ref": "#/definitions/NsisCompression"
1786
+
},
1787
+
{
1788
+
"type": "null"
1789
+
}
1790
+
]
1780
1791
}
1781
1792
},
1782
1793
"additionalProperties": false
@@ -1807,6 +1818,32 @@
1807
1818
}
1808
1819
]
1809
1820
},
1821
+
"NsisCompression": {
1822
+
"description": "Compression algorithms used in the NSIS installer.\n\nSee <https://nsis.sourceforge.io/Reference/SetCompressor>",
1823
+
"oneOf": [
1824
+
{
1825
+
"description": "ZLIB uses the deflate algorithm, it is a quick and simple method. With the default compression level it uses about 300 KB of memory.",
1826
+
"type": "string",
1827
+
"enum": [
1828
+
"zlib"
1829
+
]
1830
+
},
1831
+
{
1832
+
"description": "BZIP2 usually gives better compression ratios than ZLIB, but it is a bit slower and uses more memory. With the default compression level it uses about 4 MB of memory.",
1833
+
"type": "string",
1834
+
"enum": [
1835
+
"bzip2"
1836
+
]
1837
+
},
1838
+
{
1839
+
"description": "LZMA (default) is a new compression method that gives very good compression ratios. The decompression speed is high (10-20 MB/s on a 2 GHz CPU), the compression speed is lower. The memory size that will be used for decompression is the dictionary size plus a few KBs, the default is 8 MB.",
1840
+
"type": "string",
1841
+
"enum": [
1842
+
"lzma"
1843
+
]
1844
+
}
1845
+
]
1846
+
},
1810
1847
"AllowlistConfig": {
1811
1848
"description": "Allowlist configuration. The allowlist is a translation of the [Cargo allowlist features](https://docs.rs/tauri/latest/tauri/#cargo-allowlist-features).\n\n# Notes\n\n- Endpoints that don't have their own allowlist option are enabled by default. - There is only \"opt-in\", no \"opt-out\". Setting an option to `false` has no effect.\n\n# Examples\n\n- * [`\"app-all\": true`](https://tauri.app/v1/api/config/#appallowlistconfig.all) will make the [hide](https://tauri.app/v1/api/js/app#hide) endpoint be available regardless of whether `hide` is set to `false` or `true` in the allowlist.",
0 commit comments