2021-02-20 17:36:17 +03:00
{
"$schema" : "http://json-schema.org/draft-07/schema#" ,
"title" : "Config" ,
2023-05-13 13:48:28 +03:00
"description" : "The Tauri configuration object. It is read from a file where you can define your frontend assets, configure the bundler and define a system tray.\n\nThe configuration file is generated by the [`tauri init`](https://tauri.app/v1/api/cli#init) command that lives in your Tauri application source directory (src-tauri).\n\nOnce generated, you may modify it at will to customize your Tauri application.\n\n## File Formats\n\nBy default, the configuration is defined as a JSON file named `tauri.conf.json`.\n\nTauri also supports JSON5 and TOML files via the `config-json5` and `config-toml` Cargo features, respectively. The JSON5 file name must be either `tauri.conf.json` or `tauri.conf.json5`. The TOML file name is `Tauri.toml`.\n\n## Platform-Specific Configuration\n\nIn addition to the default configuration file, Tauri can read a platform-specific configuration from `tauri.linux.conf.json`, `tauri.windows.conf.json`, `tauri.macos.conf.json`, `tauri.android.conf.json` and `tauri.ios.conf.json` (or `Tauri.linux.toml`, `Tauri.windows.toml`, `Tauri.macos.toml`, `Tauri.android.toml` and `Tauri.ios.toml` if the `Tauri.toml` format is used), which gets merged with the main configuration object.\n\n## Configuration Structure\n\nThe configuration is composed of the following objects:\n\n- [`package`](#packageconfig): Package settings - [`tauri`](#tauriconfig): The Tauri config - [`build`](#buildconfig): The build configuration - [`plugins`](#pluginconfig): The plugins config\n\n```json title=\"Example tauri.config.json file\" { \"build\": { \"beforeBuildCommand\": \"\", \"beforeDevCommand\": \"\", \"devPath\": \"../dist\", \"distDir\": \"../dist\" }, \"package\": { \"productName\": \"tauri-app\", \"version\": \"0.1.0\" }, \"tauri\": { \"bundle\": {}, \"security\": { \"csp\": null }, \"windows\": [ { \"fullscreen\": false, \"height\": 600, \"resizable\": true, \"title\": \"Tauri App\", \"width\": 800 } ] } } ```" ,
2021-02-20 17:36:17 +03:00
"type" : "object" ,
"properties" : {
2022-05-03 18:26:16 +03:00
"$schema" : {
"description" : "The JSON schema for the Tauri config." ,
"type" : [
"string" ,
"null"
]
} ,
2021-03-23 03:51:23 +03:00
"package" : {
"description" : "Package settings." ,
2022-01-09 16:55:09 +03:00
"default" : {
"productName" : null ,
"version" : null
} ,
2021-03-23 03:51:23 +03:00
"allOf" : [
{
"$ref" : "#/definitions/PackageConfig"
}
]
} ,
2021-02-20 17:36:17 +03:00
"tauri" : {
"description" : "The Tauri configuration." ,
"default" : {
"bundle" : {
"active" : false ,
2023-04-07 17:21:42 +03:00
"android" : {
"minSdkVersion" : 24
} ,
2022-06-10 22:20:37 +03:00
"appimage" : {
"bundleMediaFramework" : false
} ,
2021-02-20 17:36:17 +03:00
"deb" : {
2022-03-31 20:51:17 +03:00
"files" : { }
2021-02-20 17:36:17 +03:00
} ,
2022-08-28 21:34:41 +03:00
"iOS" : { } ,
2022-01-09 16:55:09 +03:00
"icon" : [ ] ,
"identifier" : "" ,
2021-03-25 07:56:00 +03:00
"macOS" : {
2022-03-31 20:51:17 +03:00
"minimumSystemVersion" : "10.13"
2021-03-29 01:58:44 +03:00
} ,
2022-06-21 19:13:56 +03:00
"targets" : "all" ,
2023-05-13 13:48:28 +03:00
"updater" : {
"active" : false ,
"pubkey" : "" ,
"windows" : {
"installMode" : "passive"
}
} ,
2021-03-29 01:58:44 +03:00
"windows" : {
2022-03-28 03:34:19 +03:00
"allowDowngrades" : true ,
2021-03-29 01:58:44 +03:00
"certificateThumbprint" : null ,
"digestAlgorithm" : null ,
2023-01-03 20:29:20 +03:00
"nsis" : null ,
2021-04-23 21:30:44 +03:00
"timestampUrl" : null ,
2022-05-17 19:38:52 +03:00
"tsp" : false ,
2021-11-02 16:47:56 +03:00
"webviewFixedRuntimePath" : null ,
2022-06-26 21:45:31 +03:00
"webviewInstallMode" : {
"silent" : true ,
"type" : "downloadBootstrapper"
} ,
2021-04-23 21:30:44 +03:00
"wix" : null
2021-02-21 05:35:01 +03:00
}
2021-02-20 17:36:17 +03:00
} ,
2022-01-09 17:29:29 +03:00
"macOSPrivateApi" : false ,
2022-01-17 16:46:14 +03:00
"pattern" : {
"use" : "brownfield"
} ,
"security" : {
2023-05-13 13:48:28 +03:00
"assetProtocol" : {
"enable" : false ,
"scope" : [ ]
} ,
2022-03-28 17:55:54 +03:00
"dangerousDisableAssetCspModification" : false ,
2023-04-11 14:50:15 +03:00
"dangerousRemoteDomainIpcAccess" : [ ] ,
2022-02-12 16:28:05 +03:00
"freezePrototype" : false
2022-01-17 16:46:14 +03:00
} ,
2022-02-11 00:03:25 +03:00
"windows" : [ ]
2021-02-20 17:36:17 +03:00
} ,
"allOf" : [
{
"$ref" : "#/definitions/TauriConfig"
}
]
2022-05-18 15:53:56 +03:00
} ,
"build" : {
"description" : "The build configuration." ,
"default" : {
"devPath" : "http://localhost:8080/" ,
"distDir" : "../dist" ,
"withGlobalTauri" : false
} ,
"allOf" : [
{
"$ref" : "#/definitions/BuildConfig"
}
]
} ,
"plugins" : {
"description" : "The plugins config." ,
"default" : { } ,
"allOf" : [
{
"$ref" : "#/definitions/PluginConfig"
}
]
2021-02-20 17:36:17 +03:00
}
} ,
"additionalProperties" : false ,
"definitions" : {
2022-05-18 15:53:56 +03:00
"PackageConfig" : {
2023-03-17 19:17:34 +03:00
"description" : "The package configuration.\n\nSee more: https://tauri.app/v1/api/config#packageconfig" ,
2021-02-20 20:09:18 +03:00
"type" : "object" ,
"properties" : {
2022-05-18 15:53:56 +03:00
"productName" : {
"description" : "App name." ,
"type" : [
"string" ,
"null"
2022-09-28 17:44:14 +03:00
] ,
"pattern" : "^[^/\\:*?\"<>|]+$"
2021-02-20 20:09:18 +03:00
} ,
2022-05-18 15:53:56 +03:00
"version" : {
Merge remote-tracking branch 'origin/dev' into next (#7067)
Co-authored-by: wusyong <wusyong@users.noreply.github.com>
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: Simon Hyll <hyllsimon@gmail.com>
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: chip <chip@chip.sh>
Co-authored-by: Raphii <iam@raphii.co>
Co-authored-by: Ronie Martinez <ronmarti18@gmail.com>
Co-authored-by: hanaTsuk1 <101488209+hanaTsuk1@users.noreply.github.com>
Co-authored-by: nathan-fall <39990940+nathan-fall@users.noreply.github.com>
Co-authored-by: Akshay <nerdy@peppe.rs>
Co-authored-by: KurikoMoe <kurikomoe@gmail.com>
Co-authored-by: Guilherme Oenning <me@goenning.net>
Co-authored-by: Pierre Cashon <biaocy91@gmail.com>
Co-authored-by: Jack Wills <32690432+mrjackwills@users.noreply.github.com>
Co-authored-by: Amirhossein Akhlaghpour <m9.akhlaghpoor@gmail.com>
Co-authored-by: Risto Stevcev <me@risto.codes>
Co-authored-by: Soumt <rltks1305@naver.com>
Co-authored-by: yutotnh <57719497+yutotnh@users.noreply.github.com>
Co-authored-by: Gökçe Merdun <agmmnn@gmail.com>
Co-authored-by: Nathanael Rea <Nathan@NathanaelRea.com>
Co-authored-by: Usman Rajab <usman.rajab@gmail.com>
Co-authored-by: Francis The Basilisk <36006338+snorkysnark@users.noreply.github.com>
Co-authored-by: Lej77 <31554212+Lej77@users.noreply.github.com>
Co-authored-by: Tomáš Diblík <dibla.tomas@post.cz>
Co-authored-by: Jonas Kruckenberg <iterpre@protonmail.com>
Co-authored-by: Pascal Sommer <Pascal-So@users.noreply.github.com>
Co-authored-by: Bo <bertonzh@gmail.com>
Co-authored-by: Kevin Yue <k3vinyue@gmail.com>
fixed grammar and typos (#6937)
Fix api.js docs pipeline with updated typedoc dependencies (#6945)
closes #6887 (#6922)
fix(core): Fix `WindowBuilder::on_navigation` handler never registerd, closes #6865 (#6921)
fix(core): Fix `WindowBuilder::on_navigation` handler never registerd, closes #6865
fix broken symlinks in license files (#6336)
fix(cli): fix cli connection timeout to dev server (fix #6045) (#6046)
fix(bundler): ensure that there are no duplicate extension arguments when bundling on Windows, fixes #6103 (#6917)
fix(bundler): ensure that there are no duplicate extension arguments during bundling on Windows (fix #6103)
closes #5491 (#6408)
fix(nsis): prefill $INSTDIR with previous install path and respect `/D` flag, closes #6928 (#6935)
fix(nsis): prefill $INSTDIR with previous install path and respect `/D` flag, closes #6928
fix(updater): emit `UPTODATE` when server responds with 204, closes #6934 (#6970)
fix(core): unpin all dependencies, closes #6944 (#6966)
fix(bundler): Add new lang_file option in persian variant. (#6972)
fix(core/ipc): access url through webview native object, closes #6889 (#6976)
fix(core): remove trailing slash in http scope url, closes #5208 (#6974)
fix(core): remove trailing slash in http scope url, closes #5208
fix(cli): find correct binary when `--profile` is used, closes #6954 (#6979)
fix(cli): find correct binary when `--profile` is used, closes #6954
closes #6955 (#6987)
closes #6955
closes #6158 (#6969)
closes #6158
fix(cli): improve vs build tools detection (#6982)
fix: updated appimage script to follow symlinks for /usr/lib* (fix: #6992) (#6996)
fix(cli): correctly remove Cargo features (#7013)
Fix typo (#7012)
fix(cli): revert metadata.json field rename from #6795 (#7029)
closes #6732 (#6736)
fix: add missing file properties on Windows, closes #6676 (#6693)
fix(cli.js): detect node-20 binary (#6667)
fix version-or-publish workflow (#7031)
fix(cli/devserver): inject autoreload into HTML only, closes #6997 (#7032)
fix(bundler/nsis): write installer templates UTF16LE encoded, closes #7036 (#7040)
fix(bundler/nsis): write installer templates UTF16LE encoded, closes #7036
fix(core): rewrite `asset` protocol streaming, closes #6375 (#6390)
closes #5939 (#5960)
fix(core): use `safe_block_on` (#7047)
closes #6859 (#6933)
closes #6955 (#6998)
fix(core): populate webview_attrs from config, closes #6794 (#6797)
closes #5176 (#5180)
fix: sound for notifications on windows (fix #6652) (#6680)
close native window's buttons, closes #2353 (#6665)
fix(bundler/nsis): calculate accurate app size, closes #7056 (#7057)
fix(tests): only download update when it is available (#7061)
closes #6706 (#6712)
fix(doc): correct the doc of `content_protected()` (#7065)
closes #6472 (#6530)
fix(macros): use full path to Result to avoid issues with type aliases (#7071)
2023-05-30 03:29:24 +03:00
"description" : "App version. It is a semver version number or a path to a `package.json` file containing the `version` field. If removed the version number from `Cargo.toml` is used." ,
2022-05-18 15:53:56 +03:00
"default" : null ,
"type" : [
"string" ,
"null"
]
}
} ,
"additionalProperties" : false
} ,
"TauriConfig" : {
2023-03-17 19:17:34 +03:00
"description" : "The Tauri configuration object.\n\nSee more: https://tauri.app/v1/api/config#tauriconfig" ,
2022-05-18 15:53:56 +03:00
"type" : "object" ,
"properties" : {
"pattern" : {
"description" : "The pattern to use." ,
2022-01-09 20:48:55 +03:00
"default" : {
2022-05-18 15:53:56 +03:00
"use" : "brownfield"
2022-01-09 20:48:55 +03:00
} ,
"allOf" : [
{
2022-05-18 15:53:56 +03:00
"$ref" : "#/definitions/PatternKind"
2022-01-09 20:48:55 +03:00
}
]
} ,
2022-05-18 15:53:56 +03:00
"windows" : {
"description" : "The windows configuration." ,
"default" : [ ] ,
"type" : "array" ,
"items" : {
"$ref" : "#/definitions/WindowConfig"
}
} ,
"bundle" : {
"description" : "The bundler configuration." ,
2021-02-20 20:09:18 +03:00
"default" : {
2022-05-18 15:53:56 +03:00
"active" : false ,
2023-04-07 17:21:42 +03:00
"android" : {
"minSdkVersion" : 24
} ,
2022-06-10 22:20:37 +03:00
"appimage" : {
"bundleMediaFramework" : false
} ,
2022-05-18 15:53:56 +03:00
"deb" : {
"files" : { }
} ,
2022-08-28 21:34:41 +03:00
"iOS" : { } ,
2022-05-18 15:53:56 +03:00
"icon" : [ ] ,
"identifier" : "" ,
"macOS" : {
"minimumSystemVersion" : "10.13"
} ,
2022-06-21 19:13:56 +03:00
"targets" : "all" ,
2023-05-13 13:48:28 +03:00
"updater" : {
"active" : false ,
"pubkey" : "" ,
"windows" : {
"installMode" : "passive"
}
} ,
2022-05-18 15:53:56 +03:00
"windows" : {
"allowDowngrades" : true ,
"certificateThumbprint" : null ,
"digestAlgorithm" : null ,
2023-01-03 20:29:20 +03:00
"nsis" : null ,
2022-05-18 15:53:56 +03:00
"timestampUrl" : null ,
"tsp" : false ,
"webviewFixedRuntimePath" : null ,
2022-06-26 21:45:31 +03:00
"webviewInstallMode" : {
"silent" : true ,
"type" : "downloadBootstrapper"
} ,
2022-05-18 15:53:56 +03:00
"wix" : null
}
2021-02-20 20:09:18 +03:00
} ,
"allOf" : [
{
2022-05-18 15:53:56 +03:00
"$ref" : "#/definitions/BundleConfig"
2021-02-20 20:09:18 +03:00
}
]
} ,
2022-05-18 15:53:56 +03:00
"security" : {
"description" : "Security configuration." ,
2021-02-20 20:09:18 +03:00
"default" : {
2023-05-13 13:48:28 +03:00
"assetProtocol" : {
"enable" : false ,
"scope" : [ ]
} ,
2022-05-18 15:53:56 +03:00
"dangerousDisableAssetCspModification" : false ,
2023-04-11 14:50:15 +03:00
"dangerousRemoteDomainIpcAccess" : [ ] ,
2022-05-18 15:53:56 +03:00
"freezePrototype" : false
2021-02-20 20:09:18 +03:00
} ,
"allOf" : [
{
2022-05-18 15:53:56 +03:00
"$ref" : "#/definitions/SecurityConfig"
2021-02-20 20:09:18 +03:00
}
]
} ,
2022-05-18 15:53:56 +03:00
"systemTray" : {
"description" : "Configuration for app system tray." ,
"anyOf" : [
2022-01-09 20:26:58 +03:00
{
2022-05-18 15:53:56 +03:00
"$ref" : "#/definitions/SystemTrayConfig"
} ,
2021-02-20 20:09:18 +03:00
{
2022-05-18 15:53:56 +03:00
"type" : "null"
2021-02-20 20:09:18 +03:00
}
]
} ,
2022-05-18 15:53:56 +03:00
"macOSPrivateApi" : {
"description" : "MacOS private API configuration. Enables the transparent background API and sets the `fullScreenEnabled` preference to `true`." ,
"default" : false ,
"type" : "boolean"
2021-02-20 20:09:18 +03:00
}
} ,
"additionalProperties" : false
} ,
2022-05-18 15:53:56 +03:00
"PatternKind" : {
"description" : "The application pattern." ,
"oneOf" : [
2021-05-31 17:42:10 +03:00
{
2022-05-18 15:53:56 +03:00
"description" : "Brownfield pattern." ,
"type" : "object" ,
"required" : [
"use"
] ,
"properties" : {
"use" : {
"type" : "string" ,
"enum" : [
"brownfield"
]
2021-12-10 18:24:45 +03:00
}
2022-05-18 15:53:56 +03:00
}
2021-05-31 17:42:10 +03:00
} ,
{
2022-05-18 15:53:56 +03:00
"description" : "Isolation pattern. Recommended for security purposes." ,
"type" : "object" ,
"required" : [
"options" ,
"use"
] ,
"properties" : {
"use" : {
"type" : "string" ,
"enum" : [
"isolation"
]
} ,
"options" : {
"type" : "object" ,
"required" : [
"dir"
] ,
"properties" : {
"dir" : {
"description" : "The dir containing the index.html file that contains the secure isolation application." ,
"type" : "string"
}
}
}
2021-05-31 17:42:10 +03:00
}
}
]
} ,
2022-05-18 15:53:56 +03:00
"WindowConfig" : {
2023-03-17 19:17:34 +03:00
"description" : "The window configuration object.\n\nSee more: https://tauri.app/v1/api/config#windowconfig" ,
2021-02-20 17:36:17 +03:00
"type" : "object" ,
"properties" : {
2022-05-18 15:53:56 +03:00
"label" : {
"description" : "The window identifier. It must be alphanumeric." ,
"default" : "main" ,
"type" : "string"
2021-02-20 17:36:17 +03:00
} ,
2022-05-18 15:53:56 +03:00
"url" : {
"description" : "The window webview URL." ,
"default" : "index.html" ,
2021-05-31 17:42:10 +03:00
"allOf" : [
{
2022-05-18 15:53:56 +03:00
"$ref" : "#/definitions/WindowUrl"
2021-05-31 17:42:10 +03:00
}
]
2021-02-20 17:36:17 +03:00
} ,
2022-10-02 16:37:53 +03:00
"userAgent" : {
"description" : "The user agent for the webview" ,
"type" : [
"string" ,
"null"
]
} ,
2022-05-18 15:53:56 +03:00
"fileDropEnabled" : {
"description" : "Whether the file drop is enabled or not on the webview. By default it is enabled.\n\nDisabling it is required to use drag and drop on the frontend on Windows." ,
"default" : true ,
2021-02-20 17:36:17 +03:00
"type" : "boolean"
2022-05-18 15:53:56 +03:00
} ,
"center" : {
"description" : "Whether or not the window starts centered or not." ,
2021-04-13 07:47:34 +03:00
"default" : false ,
2021-02-20 17:36:17 +03:00
"type" : "boolean"
} ,
2022-05-18 15:53:56 +03:00
"x" : {
"description" : "The horizontal position of the window's top left corner" ,
2021-07-04 05:49:01 +03:00
"type" : [
2022-05-18 15:53:56 +03:00
"number" ,
2021-07-04 05:49:01 +03:00
"null"
2022-05-18 15:53:56 +03:00
] ,
"format" : "double"
2021-02-20 17:36:17 +03:00
} ,
2022-05-18 15:53:56 +03:00
"y" : {
"description" : "The vertical position of the window's top left corner" ,
2021-07-04 05:49:01 +03:00
"type" : [
2022-05-18 15:53:56 +03:00
"number" ,
2021-07-04 05:49:01 +03:00
"null"
2022-05-18 15:53:56 +03:00
] ,
"format" : "double"
2021-02-20 17:36:17 +03:00
} ,
2022-05-18 15:53:56 +03:00
"width" : {
"description" : "The window width." ,
"default" : 800.0 ,
"type" : "number" ,
"format" : "double"
2021-02-20 17:36:17 +03:00
} ,
2022-05-18 15:53:56 +03:00
"height" : {
"description" : "The window height." ,
"default" : 600.0 ,
"type" : "number" ,
"format" : "double"
} ,
"minWidth" : {
"description" : "The min window width." ,
2021-07-04 05:49:01 +03:00
"type" : [
2022-05-18 15:53:56 +03:00
"number" ,
2021-07-04 05:49:01 +03:00
"null"
] ,
2022-05-18 15:53:56 +03:00
"format" : "double"
2021-02-20 17:36:17 +03:00
} ,
2022-05-18 15:53:56 +03:00
"minHeight" : {
"description" : "The min window height." ,
2021-07-04 05:49:01 +03:00
"type" : [
2022-05-18 15:53:56 +03:00
"number" ,
2021-07-04 05:49:01 +03:00
"null"
2022-05-18 15:53:56 +03:00
] ,
"format" : "double"
2021-02-20 17:36:17 +03:00
} ,
2022-05-18 15:53:56 +03:00
"maxWidth" : {
"description" : "The max window width." ,
2021-07-04 05:49:01 +03:00
"type" : [
2022-05-18 15:53:56 +03:00
"number" ,
2021-07-04 05:49:01 +03:00
"null"
] ,
2022-05-18 15:53:56 +03:00
"format" : "double"
2021-02-20 17:36:17 +03:00
} ,
2022-05-18 15:53:56 +03:00
"maxHeight" : {
"description" : "The max window height." ,
2021-07-04 05:49:01 +03:00
"type" : [
2022-05-18 15:53:56 +03:00
"number" ,
2021-07-04 05:49:01 +03:00
"null"
2022-05-18 15:53:56 +03:00
] ,
"format" : "double"
2021-02-20 17:36:17 +03:00
} ,
2022-05-18 15:53:56 +03:00
"resizable" : {
Merge remote-tracking branch 'origin/dev' into next (#7067)
Co-authored-by: wusyong <wusyong@users.noreply.github.com>
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: Simon Hyll <hyllsimon@gmail.com>
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: chip <chip@chip.sh>
Co-authored-by: Raphii <iam@raphii.co>
Co-authored-by: Ronie Martinez <ronmarti18@gmail.com>
Co-authored-by: hanaTsuk1 <101488209+hanaTsuk1@users.noreply.github.com>
Co-authored-by: nathan-fall <39990940+nathan-fall@users.noreply.github.com>
Co-authored-by: Akshay <nerdy@peppe.rs>
Co-authored-by: KurikoMoe <kurikomoe@gmail.com>
Co-authored-by: Guilherme Oenning <me@goenning.net>
Co-authored-by: Pierre Cashon <biaocy91@gmail.com>
Co-authored-by: Jack Wills <32690432+mrjackwills@users.noreply.github.com>
Co-authored-by: Amirhossein Akhlaghpour <m9.akhlaghpoor@gmail.com>
Co-authored-by: Risto Stevcev <me@risto.codes>
Co-authored-by: Soumt <rltks1305@naver.com>
Co-authored-by: yutotnh <57719497+yutotnh@users.noreply.github.com>
Co-authored-by: Gökçe Merdun <agmmnn@gmail.com>
Co-authored-by: Nathanael Rea <Nathan@NathanaelRea.com>
Co-authored-by: Usman Rajab <usman.rajab@gmail.com>
Co-authored-by: Francis The Basilisk <36006338+snorkysnark@users.noreply.github.com>
Co-authored-by: Lej77 <31554212+Lej77@users.noreply.github.com>
Co-authored-by: Tomáš Diblík <dibla.tomas@post.cz>
Co-authored-by: Jonas Kruckenberg <iterpre@protonmail.com>
Co-authored-by: Pascal Sommer <Pascal-So@users.noreply.github.com>
Co-authored-by: Bo <bertonzh@gmail.com>
Co-authored-by: Kevin Yue <k3vinyue@gmail.com>
fixed grammar and typos (#6937)
Fix api.js docs pipeline with updated typedoc dependencies (#6945)
closes #6887 (#6922)
fix(core): Fix `WindowBuilder::on_navigation` handler never registerd, closes #6865 (#6921)
fix(core): Fix `WindowBuilder::on_navigation` handler never registerd, closes #6865
fix broken symlinks in license files (#6336)
fix(cli): fix cli connection timeout to dev server (fix #6045) (#6046)
fix(bundler): ensure that there are no duplicate extension arguments when bundling on Windows, fixes #6103 (#6917)
fix(bundler): ensure that there are no duplicate extension arguments during bundling on Windows (fix #6103)
closes #5491 (#6408)
fix(nsis): prefill $INSTDIR with previous install path and respect `/D` flag, closes #6928 (#6935)
fix(nsis): prefill $INSTDIR with previous install path and respect `/D` flag, closes #6928
fix(updater): emit `UPTODATE` when server responds with 204, closes #6934 (#6970)
fix(core): unpin all dependencies, closes #6944 (#6966)
fix(bundler): Add new lang_file option in persian variant. (#6972)
fix(core/ipc): access url through webview native object, closes #6889 (#6976)
fix(core): remove trailing slash in http scope url, closes #5208 (#6974)
fix(core): remove trailing slash in http scope url, closes #5208
fix(cli): find correct binary when `--profile` is used, closes #6954 (#6979)
fix(cli): find correct binary when `--profile` is used, closes #6954
closes #6955 (#6987)
closes #6955
closes #6158 (#6969)
closes #6158
fix(cli): improve vs build tools detection (#6982)
fix: updated appimage script to follow symlinks for /usr/lib* (fix: #6992) (#6996)
fix(cli): correctly remove Cargo features (#7013)
Fix typo (#7012)
fix(cli): revert metadata.json field rename from #6795 (#7029)
closes #6732 (#6736)
fix: add missing file properties on Windows, closes #6676 (#6693)
fix(cli.js): detect node-20 binary (#6667)
fix version-or-publish workflow (#7031)
fix(cli/devserver): inject autoreload into HTML only, closes #6997 (#7032)
fix(bundler/nsis): write installer templates UTF16LE encoded, closes #7036 (#7040)
fix(bundler/nsis): write installer templates UTF16LE encoded, closes #7036
fix(core): rewrite `asset` protocol streaming, closes #6375 (#6390)
closes #5939 (#5960)
fix(core): use `safe_block_on` (#7047)
closes #6859 (#6933)
closes #6955 (#6998)
fix(core): populate webview_attrs from config, closes #6794 (#6797)
closes #5176 (#5180)
fix: sound for notifications on windows (fix #6652) (#6680)
close native window's buttons, closes #2353 (#6665)
fix(bundler/nsis): calculate accurate app size, closes #7056 (#7057)
fix(tests): only download update when it is available (#7061)
closes #6706 (#6712)
fix(doc): correct the doc of `content_protected()` (#7065)
closes #6472 (#6530)
fix(macros): use full path to Result to avoid issues with type aliases (#7071)
2023-05-30 03:29:24 +03:00
"description" : "Whether the window is resizable or not. When resizable is set to false, native window's maximize button is automatically disabled." ,
"default" : true ,
"type" : "boolean"
} ,
"maximizable" : {
"description" : "Whether the window's native maximize button is enabled or not. If resizable is set to false, this setting is ignored.\n\n## Platform-specific\n\n- **macOS:** Disables the \"zoom\" button in the window titlebar, which is also used to enter fullscreen mode. - **Linux / iOS / Android:** Unsupported." ,
"default" : true ,
"type" : "boolean"
} ,
"minimizable" : {
"description" : "Whether the window's native minimize button is enabled or not.\n\n## Platform-specific\n\n- **Linux / iOS / Android:** Unsupported." ,
"default" : true ,
"type" : "boolean"
} ,
"closable" : {
"description" : "Whether the window's native close button is enabled or not.\n\n## Platform-specific\n\n- **Linux:** \"GTK+ will do its best to convince the window manager not to show a close button. Depending on the system, this function may not have any effect when called on a window that is already visible\" - **iOS / Android:** Unsupported." ,
2022-05-18 15:53:56 +03:00
"default" : true ,
"type" : "boolean"
} ,
"title" : {
"description" : "The window title." ,
"default" : "Tauri App" ,
"type" : "string"
} ,
"fullscreen" : {
"description" : "Whether the window starts as fullscreen or not." ,
"default" : false ,
"type" : "boolean"
} ,
"focus" : {
2022-10-08 22:37:12 +03:00
"description" : "Whether the window will be initially focused or not." ,
2022-05-18 15:53:56 +03:00
"default" : true ,
"type" : "boolean"
} ,
"transparent" : {
2022-08-02 20:12:26 +03:00
"description" : "Whether the window is transparent or not.\n\nNote that on `macOS` this requires the `macos-private-api` feature flag, enabled under `tauri > macOSPrivateApi`. WARNING: Using private APIs on `macOS` prevents your application from being accepted to the `App Store`." ,
2022-05-18 15:53:56 +03:00
"default" : false ,
"type" : "boolean"
} ,
"maximized" : {
"description" : "Whether the window is maximized or not." ,
"default" : false ,
"type" : "boolean"
} ,
"visible" : {
"description" : "Whether the window is visible or not." ,
"default" : true ,
"type" : "boolean"
} ,
"decorations" : {
"description" : "Whether the window should have borders and bars." ,
"default" : true ,
"type" : "boolean"
} ,
"alwaysOnTop" : {
"description" : "Whether the window should always be on top of other windows." ,
"default" : false ,
"type" : "boolean"
} ,
2022-12-13 07:04:22 +03:00
"contentProtected" : {
"description" : "Prevents the window contents from being captured by other apps." ,
"default" : false ,
"type" : "boolean"
} ,
2022-05-18 15:53:56 +03:00
"skipTaskbar" : {
2022-11-18 00:47:54 +03:00
"description" : "If `true`, hides the window icon from the taskbar on Windows and Linux." ,
2022-05-18 15:53:56 +03:00
"default" : false ,
"type" : "boolean"
} ,
"theme" : {
2022-06-21 16:00:12 +03:00
"description" : "The initial window theme. Defaults to the system theme. Only implemented on Windows and macOS 10.14+." ,
2021-02-20 17:36:17 +03:00
"anyOf" : [
{
2022-05-18 15:53:56 +03:00
"$ref" : "#/definitions/Theme"
2021-02-20 17:36:17 +03:00
} ,
{
"type" : "null"
}
]
2022-09-30 23:15:45 +03:00
} ,
"titleBarStyle" : {
"description" : "The style of the macOS title bar." ,
"default" : "Visible" ,
"allOf" : [
{
"$ref" : "#/definitions/TitleBarStyle"
}
]
} ,
"hiddenTitle" : {
2022-10-03 20:49:59 +03:00
"description" : "If `true`, sets the window title to be hidden on macOS." ,
2022-09-30 23:15:45 +03:00
"default" : false ,
"type" : "boolean"
2022-10-17 17:07:45 +03:00
} ,
"acceptFirstMouse" : {
2022-11-18 00:47:54 +03:00
"description" : "Whether clicking an inactive window also clicks through to the webview on macOS." ,
2022-10-17 17:07:45 +03:00
"default" : false ,
"type" : "boolean"
2022-10-19 15:20:17 +03:00
} ,
"tabbingIdentifier" : {
2022-10-19 15:40:34 +03:00
"description" : "Defines the window [tabbing identifier] for macOS.\n\nWindows with matching tabbing identifiers will be grouped together. If the tabbing identifier is not set, automatic tabbing will be disabled.\n\n[tabbing identifier]: <https://developer.apple.com/documentation/appkit/nswindow/1644704-tabbingidentifier>" ,
2022-10-19 15:20:17 +03:00
"type" : [
"string" ,
"null"
]
2023-02-08 01:38:10 +03:00
} ,
2022-12-14 17:46:24 +03:00
"additionalBrowserArgs" : {
"description" : "Defines additional browser arguments on Windows. By default wry passes `--disable-features=msWebOOUI,msPdfOOUI,msSmartScreenProtection` so if you use this method, you also need to disable these components by yourself if you want." ,
"type" : [
"string" ,
"null"
]
2023-02-14 16:58:46 +03:00
} ,
2023-02-08 01:38:10 +03:00
"shadow" : {
"description" : "Whether or not the window has shadow.\n\n## Platform-specific\n\n- **Windows:** - `false` has no effect on decorated window, shadow are always ON. - `true` will make ndecorated window have a 1px white border, and on Windows 11, it will have a rounded corners. - **Linux:** Unsupported." ,
2023-05-09 15:56:13 +03:00
"default" : true ,
2023-02-08 01:38:10 +03:00
"type" : "boolean"
2023-05-23 21:29:46 +03:00
} ,
"windowEffects" : {
"description" : "Window effects.\n\nRequires the window to be transparent.\n\n## Platform-specific:\n\n- **Windows**: If using decorations or shadows, you may want to try this workaround https://github.com/tauri-apps/tao/issues/72#issuecomment-975607891 - **Linux**: Unsupported" ,
"anyOf" : [
{
"$ref" : "#/definitions/WindowEffectsConfig"
} ,
{
"type" : "null"
}
]
2023-06-06 18:30:37 +03:00
} ,
"incognito" : {
"description" : "Whether or not the webview should be launched in incognito mode.\n\n## Platform-specific:\n\n- **Android**: Unsupported." ,
"default" : false ,
"type" : "boolean"
2021-02-20 17:36:17 +03:00
}
} ,
"additionalProperties" : false
} ,
2022-05-18 15:53:56 +03:00
"WindowUrl" : {
"description" : "An URL to open on a Tauri webview window." ,
2021-02-20 17:36:17 +03:00
"anyOf" : [
{
2022-05-18 15:53:56 +03:00
"description" : "An external URL." ,
"type" : "string" ,
"format" : "uri"
2021-02-20 17:36:17 +03:00
} ,
{
2022-05-18 15:53:56 +03:00
"description" : "The path portion of an app URL. For instance, to load `tauri://localhost/users/john`, you can simply provide `users/john` in this configuration." ,
2021-02-20 17:36:17 +03:00
"type" : "string"
}
]
} ,
2022-05-18 15:53:56 +03:00
"Theme" : {
"description" : "System theme." ,
2022-10-28 16:44:37 +03:00
"oneOf" : [
{
"description" : "Light theme." ,
"type" : "string" ,
"enum" : [
"Light"
]
} ,
{
"description" : "Dark theme." ,
"type" : "string" ,
"enum" : [
"Dark"
]
}
2022-05-18 15:53:56 +03:00
]
} ,
2022-09-30 23:15:45 +03:00
"TitleBarStyle" : {
2022-11-18 00:47:54 +03:00
"description" : "How the window title bar should be displayed on macOS." ,
2022-10-28 16:44:37 +03:00
"oneOf" : [
{
"description" : "A normal title bar." ,
"type" : "string" ,
"enum" : [
"Visible"
]
} ,
{
"description" : "Makes the title bar transparent, so the window background color is shown instead.\n\nUseful if you don't need to have actual HTML under the title bar. This lets you avoid the caveats of using `TitleBarStyle::Overlay`. Will be more useful when Tauri lets you set a custom window background color." ,
"type" : "string" ,
"enum" : [
"Transparent"
]
} ,
{
2022-11-18 00:47:54 +03:00
"description" : "Shows the title bar as a transparent overlay over the window's content.\n\nKeep in mind: - The height of the title bar is different on different OS versions, which can lead to window the controls and title not being where you don't expect. - You need to define a custom drag region to make your window draggable, however due to a limitation you can't drag the window when it's not in focus <https://github.com/tauri-apps/tauri/issues/4316>. - The color of the window title depends on the system theme." ,
2022-10-28 16:44:37 +03:00
"type" : "string" ,
"enum" : [
"Overlay"
]
}
2022-05-18 15:53:56 +03:00
]
} ,
2023-05-23 21:29:46 +03:00
"WindowEffectsConfig" : {
"description" : "The window effects configuration object" ,
"type" : "object" ,
"required" : [
"effects"
] ,
"properties" : {
"effects" : {
"description" : "List of Window effects to apply to the Window. Conflicting effects will apply the first one and ignore the rest." ,
"type" : "array" ,
"items" : {
"$ref" : "#/definitions/WindowEffect"
}
} ,
"state" : {
"description" : "Window effect state **macOS Only**" ,
"anyOf" : [
{
"$ref" : "#/definitions/WindowEffectState"
} ,
{
"type" : "null"
}
]
} ,
"radius" : {
"description" : "Window effect corner radius **macOS Only**" ,
"type" : [
"number" ,
"null"
] ,
"format" : "double"
} ,
"color" : {
2023-06-07 15:11:48 +03:00
"description" : "Window effect color. Affects [`WindowEffect::Blur`] and [`WindowEffect::Acrylic`] only on Windows 10 v1903+. Doesn't have any effect on Windows 7 or Windows 11." ,
2023-05-23 21:29:46 +03:00
"anyOf" : [
{
"$ref" : "#/definitions/Color"
} ,
{
"type" : "null"
}
]
}
} ,
"additionalProperties" : false
} ,
"WindowEffect" : {
"description" : "Platform-specific window effects" ,
"oneOf" : [
{
"description" : "A default material appropriate for the view's effectiveAppearance. **macOS 10.14-**" ,
"deprecated" : true ,
"type" : "string" ,
"enum" : [
"appearanceBased"
]
} ,
{
"description" : "*macOS 10.14-**" ,
"deprecated" : true ,
"type" : "string" ,
"enum" : [
"light"
]
} ,
{
"description" : "*macOS 10.14-**" ,
"deprecated" : true ,
"type" : "string" ,
"enum" : [
"dark"
]
} ,
{
"description" : "*macOS 10.14-**" ,
"deprecated" : true ,
"type" : "string" ,
"enum" : [
"mediumLight"
]
} ,
{
"description" : "*macOS 10.14-**" ,
"deprecated" : true ,
"type" : "string" ,
"enum" : [
"ultraDark"
]
} ,
{
"description" : "*macOS 10.10+**" ,
"type" : "string" ,
"enum" : [
"titlebar"
]
} ,
{
"description" : "*macOS 10.10+**" ,
"type" : "string" ,
"enum" : [
"selection"
]
} ,
{
"description" : "*macOS 10.11+**" ,
"type" : "string" ,
"enum" : [
"menu"
]
} ,
{
"description" : "*macOS 10.11+**" ,
"type" : "string" ,
"enum" : [
"popover"
]
} ,
{
"description" : "*macOS 10.11+**" ,
"type" : "string" ,
"enum" : [
"sidebar"
]
} ,
{
"description" : "*macOS 10.14+**" ,
"type" : "string" ,
"enum" : [
"headerView"
]
} ,
{
"description" : "*macOS 10.14+**" ,
"type" : "string" ,
"enum" : [
"sheet"
]
} ,
{
"description" : "*macOS 10.14+**" ,
"type" : "string" ,
"enum" : [
"windowBackground"
]
} ,
{
"description" : "*macOS 10.14+**" ,
"type" : "string" ,
"enum" : [
"hudWindow"
]
} ,
{
"description" : "*macOS 10.14+**" ,
"type" : "string" ,
"enum" : [
"fullScreenUI"
]
} ,
{
"description" : "*macOS 10.14+**" ,
"type" : "string" ,
"enum" : [
"tooltip"
]
} ,
{
"description" : "*macOS 10.14+**" ,
"type" : "string" ,
"enum" : [
"contentBackground"
]
} ,
{
"description" : "*macOS 10.14+**" ,
"type" : "string" ,
"enum" : [
"underWindowBackground"
]
} ,
{
"description" : "*macOS 10.14+**" ,
"type" : "string" ,
"enum" : [
"underPageBackground"
]
} ,
{
"description" : "*Windows 11 Only**" ,
"type" : "string" ,
"enum" : [
"mica"
]
} ,
{
"description" : "**Windows 7/10/11(22H1) Only**\n\n## Notes\n\nThis effect has bad performance when resizing/dragging the window on Windows 11 build 22621." ,
"type" : "string" ,
"enum" : [
"blur"
]
} ,
{
"description" : "**Windows 10/11 Only**\n\n## Notes\n\nThis effect has bad performance when resizing/dragging the window on Windows 10 v1903+ and Windows 11 build 22000." ,
"type" : "string" ,
"enum" : [
"acrylic"
]
}
]
} ,
"WindowEffectState" : {
"description" : "Window effect state **macOS only**\n\n<https://developer.apple.com/documentation/appkit/nsvisualeffectview/state>" ,
"oneOf" : [
{
"description" : "Make window effect state follow the window's active state" ,
"type" : "string" ,
"enum" : [
"followsWindowActiveState"
]
} ,
{
"description" : "Make window effect state always active" ,
"type" : "string" ,
"enum" : [
"active"
]
} ,
{
"description" : "Make window effect state always inactive" ,
"type" : "string" ,
"enum" : [
"inactive"
]
}
]
} ,
"Color" : {
"description" : "a tuple struct of RGBA colors. Each value has minimum of 0 and maximum of 255." ,
"type" : "array" ,
"items" : [
{
"type" : "integer" ,
"format" : "uint8" ,
"minimum" : 0.0
} ,
{
"type" : "integer" ,
"format" : "uint8" ,
"minimum" : 0.0
} ,
{
"type" : "integer" ,
"format" : "uint8" ,
"minimum" : 0.0
} ,
{
"type" : "integer" ,
"format" : "uint8" ,
"minimum" : 0.0
}
] ,
"maxItems" : 4 ,
"minItems" : 4
} ,
2022-05-18 15:53:56 +03:00
"BundleConfig" : {
2023-03-17 19:17:34 +03:00
"description" : "Configuration for tauri-bundler.\n\nSee more: https://tauri.app/v1/api/config#bundleconfig" ,
2021-02-20 17:36:17 +03:00
"type" : "object" ,
2022-05-18 15:53:56 +03:00
"required" : [
"identifier"
] ,
2021-02-20 17:36:17 +03:00
"properties" : {
2022-05-18 15:53:56 +03:00
"active" : {
2022-06-21 19:13:56 +03:00
"description" : "Whether Tauri should bundle your application or just output the executable." ,
2022-05-18 15:53:56 +03:00
"default" : false ,
"type" : "boolean"
} ,
"targets" : {
2023-01-03 20:29:20 +03:00
"description" : "The bundle targets, currently supports [\"deb\", \"appimage\", \"nsis\", \"msi\", \"app\", \"dmg\", \"updater\"] or \"all\"." ,
2022-06-21 19:13:56 +03:00
"default" : "all" ,
"allOf" : [
2022-05-18 15:53:56 +03:00
{
"$ref" : "#/definitions/BundleTarget"
}
2021-07-04 05:49:01 +03:00
]
2021-02-20 17:36:17 +03:00
} ,
2022-05-18 15:53:56 +03:00
"identifier" : {
2022-06-17 17:26:14 +03:00
"description" : "The application identifier in reverse domain name notation (e.g. `com.tauri.example`). This string must be unique across applications since it is used in system configurations like the bundle ID and path to the webview data directory. This string must contain only alphanumeric characters (A– Z, a– z, and 0– 9), hyphens (-), and periods (.)." ,
2022-05-18 15:53:56 +03:00
"type" : "string"
} ,
2022-09-28 19:42:26 +03:00
"publisher" : {
"description" : "The application's publisher. Defaults to the second element in the identifier string. Currently maps to the Manufacturer property of the Windows Installer." ,
"type" : [
"string" ,
"null"
]
} ,
2022-05-18 15:53:56 +03:00
"icon" : {
"description" : "The app's icons" ,
"default" : [ ] ,
"type" : "array" ,
"items" : {
"type" : "string"
}
} ,
"resources" : {
"description" : "App resources to bundle. Each resource is a path to a file or directory. Glob patterns are supported." ,
2021-07-04 05:49:01 +03:00
"type" : [
"array" ,
"null"
] ,
2021-02-20 17:36:17 +03:00
"items" : {
2022-05-18 15:53:56 +03:00
"type" : "string"
2021-02-20 17:36:17 +03:00
}
} ,
2022-05-18 15:53:56 +03:00
"copyright" : {
"description" : "A copyright string associated with your application." ,
2021-07-04 05:49:01 +03:00
"type" : [
"string" ,
"null"
]
2021-02-20 17:36:17 +03:00
} ,
2022-05-18 15:53:56 +03:00
"category" : {
"description" : "The application kind.\n\nShould be one of the following: Business, DeveloperTool, Education, Entertainment, Finance, Game, ActionGame, AdventureGame, ArcadeGame, BoardGame, CardGame, CasinoGame, DiceGame, EducationalGame, FamilyGame, KidsGame, MusicGame, PuzzleGame, RacingGame, RolePlayingGame, SimulationGame, SportsGame, StrategyGame, TriviaGame, WordGame, GraphicsAndDesign, HealthcareAndFitness, Lifestyle, Medical, Music, News, Photography, Productivity, Reference, SocialNetworking, Sports, Travel, Utility, Video, Weather." ,
"type" : [
"string" ,
"null"
]
} ,
"shortDescription" : {
"description" : "A short description of your application." ,
2021-07-04 05:49:01 +03:00
"type" : [
"string" ,
"null"
]
2021-02-20 17:36:17 +03:00
} ,
"longDescription" : {
2022-05-18 15:53:56 +03:00
"description" : "A longer, multi-line description of the application." ,
2021-07-04 05:49:01 +03:00
"type" : [
"string" ,
"null"
]
2021-02-20 17:36:17 +03:00
} ,
2022-06-10 22:20:37 +03:00
"appimage" : {
"description" : "Configuration for the AppImage bundle." ,
"default" : {
"bundleMediaFramework" : false
} ,
"allOf" : [
{
"$ref" : "#/definitions/AppImageConfig"
}
]
} ,
2022-05-18 15:53:56 +03:00
"deb" : {
"description" : "Configuration for the Debian bundle." ,
"default" : {
"files" : { }
} ,
"allOf" : [
{
"$ref" : "#/definitions/DebConfig"
}
]
} ,
"macOS" : {
"description" : "Configuration for the macOS bundles." ,
"default" : {
"minimumSystemVersion" : "10.13"
} ,
"allOf" : [
{
"$ref" : "#/definitions/MacConfig"
}
]
} ,
"externalBin" : {
"description" : "A list of—either absolute or relative—paths to binaries to embed with your application.\n\nNote that Tauri will look for system-specific binaries following the pattern \"binary-name{-target-triple}{.system-extension}\".\n\nE.g. for the external binary \"my-binary\", Tauri looks for:\n\n- \"my-binary-x86_64-pc-windows-msvc.exe\" for Windows - \"my-binary-x86_64-apple-darwin\" for macOS - \"my-binary-x86_64-unknown-linux-gnu\" for Linux\n\nso don't forget to provide binaries for all targeted platforms." ,
2021-07-04 05:49:01 +03:00
"type" : [
2022-05-18 15:53:56 +03:00
"array" ,
2021-07-04 05:49:01 +03:00
"null"
] ,
2022-05-18 15:53:56 +03:00
"items" : {
"type" : "string"
2021-02-20 17:36:17 +03:00
}
2022-01-09 20:48:55 +03:00
} ,
2022-05-18 15:53:56 +03:00
"windows" : {
"description" : "Configuration for the Windows bundle." ,
"default" : {
"allowDowngrades" : true ,
"certificateThumbprint" : null ,
"digestAlgorithm" : null ,
2023-01-03 20:29:20 +03:00
"nsis" : null ,
2022-05-18 15:53:56 +03:00
"timestampUrl" : null ,
"tsp" : false ,
"webviewFixedRuntimePath" : null ,
2022-06-26 21:45:31 +03:00
"webviewInstallMode" : {
"silent" : true ,
"type" : "downloadBootstrapper"
} ,
2022-05-18 15:53:56 +03:00
"wix" : null
} ,
"allOf" : [
{
"$ref" : "#/definitions/WindowsConfig"
}
]
2022-08-28 21:34:41 +03:00
} ,
"iOS" : {
"description" : "iOS configuration." ,
"default" : { } ,
"allOf" : [
{
"$ref" : "#/definitions/IosConfig"
}
]
2023-04-07 17:21:42 +03:00
} ,
"android" : {
"description" : "Android configuration." ,
"default" : {
"minSdkVersion" : 24
} ,
"allOf" : [
{
"$ref" : "#/definitions/AndroidConfig"
}
]
2023-05-13 13:48:28 +03:00
} ,
"updater" : {
"description" : "The updater configuration." ,
"default" : {
"active" : false ,
"pubkey" : "" ,
"windows" : {
"installMode" : "passive"
}
} ,
"allOf" : [
{
"$ref" : "#/definitions/UpdaterConfig"
}
]
2022-01-09 20:48:55 +03:00
}
} ,
"additionalProperties" : false
} ,
2022-05-18 15:53:56 +03:00
"BundleTarget" : {
2022-06-21 19:13:56 +03:00
"description" : "Targets to bundle. Each value is case insensitive." ,
2022-03-05 03:18:39 +03:00
"anyOf" : [
2022-06-21 19:13:56 +03:00
{
"description" : "Bundle all targets." ,
"enum" : [
"all"
]
} ,
2022-03-05 03:18:39 +03:00
{
2022-05-18 15:53:56 +03:00
"description" : "A list of bundle targets." ,
"type" : "array" ,
"items" : {
2022-06-21 19:13:56 +03:00
"$ref" : "#/definitions/BundleType"
2022-05-18 15:53:56 +03:00
}
2022-03-05 03:18:39 +03:00
} ,
{
2022-05-18 15:53:56 +03:00
"description" : "A single bundle target." ,
2022-06-21 19:13:56 +03:00
"allOf" : [
{
"$ref" : "#/definitions/BundleType"
}
]
2022-03-05 03:18:39 +03:00
}
]
} ,
2022-06-21 19:13:56 +03:00
"BundleType" : {
"description" : "A bundle referenced by tauri-bundler." ,
2022-10-28 16:44:37 +03:00
"oneOf" : [
{
"description" : "The debian bundle (.deb)." ,
"type" : "string" ,
"enum" : [
"deb"
]
} ,
{
"description" : "The AppImage bundle (.appimage)." ,
"type" : "string" ,
"enum" : [
"appimage"
]
} ,
{
"description" : "The Microsoft Installer bundle (.msi)." ,
"type" : "string" ,
"enum" : [
"msi"
]
} ,
2023-02-08 02:47:31 +03:00
{
"description" : "The NSIS bundle (.exe)." ,
"type" : "string" ,
"enum" : [
"nsis"
]
} ,
2022-10-28 16:44:37 +03:00
{
"description" : "The macOS application bundle (.app)." ,
"type" : "string" ,
"enum" : [
"app"
]
} ,
{
"description" : "The Apple Disk Image bundle (.dmg)." ,
"type" : "string" ,
"enum" : [
"dmg"
]
} ,
{
"description" : "The Tauri updater bundle." ,
"type" : "string" ,
"enum" : [
"updater"
]
}
2022-06-21 19:13:56 +03:00
]
} ,
2022-06-10 22:20:37 +03:00
"AppImageConfig" : {
2023-03-17 19:17:34 +03:00
"description" : "Configuration for AppImage bundles.\n\nSee more: https://tauri.app/v1/api/config#appimageconfig" ,
2022-06-10 22:20:37 +03:00
"type" : "object" ,
"properties" : {
"bundleMediaFramework" : {
"description" : "Include additional gstreamer dependencies needed for audio and video playback. This increases the bundle size by ~15-35MB depending on your build system." ,
"default" : false ,
"type" : "boolean"
}
} ,
"additionalProperties" : false
} ,
2021-02-20 17:36:17 +03:00
"DebConfig" : {
2023-03-17 19:17:34 +03:00
"description" : "Configuration for Debian (.deb) bundles.\n\nSee more: https://tauri.app/v1/api/config#debconfig" ,
2021-02-20 17:36:17 +03:00
"type" : "object" ,
"properties" : {
"depends" : {
2021-08-16 22:52:10 +03:00
"description" : "The list of deb dependencies your application relies on." ,
2021-07-04 05:49:01 +03:00
"type" : [
"array" ,
"null"
] ,
2021-02-20 17:36:17 +03:00
"items" : {
"type" : "string"
}
} ,
2021-04-25 07:46:04 +03:00
"files" : {
2021-08-16 22:52:10 +03:00
"description" : "The files to include on the package." ,
2021-04-25 07:46:04 +03:00
"default" : { } ,
"type" : "object" ,
"additionalProperties" : {
"type" : "string"
}
Merge remote-tracking branch 'origin/dev' into next (#7067)
Co-authored-by: wusyong <wusyong@users.noreply.github.com>
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: Simon Hyll <hyllsimon@gmail.com>
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: chip <chip@chip.sh>
Co-authored-by: Raphii <iam@raphii.co>
Co-authored-by: Ronie Martinez <ronmarti18@gmail.com>
Co-authored-by: hanaTsuk1 <101488209+hanaTsuk1@users.noreply.github.com>
Co-authored-by: nathan-fall <39990940+nathan-fall@users.noreply.github.com>
Co-authored-by: Akshay <nerdy@peppe.rs>
Co-authored-by: KurikoMoe <kurikomoe@gmail.com>
Co-authored-by: Guilherme Oenning <me@goenning.net>
Co-authored-by: Pierre Cashon <biaocy91@gmail.com>
Co-authored-by: Jack Wills <32690432+mrjackwills@users.noreply.github.com>
Co-authored-by: Amirhossein Akhlaghpour <m9.akhlaghpoor@gmail.com>
Co-authored-by: Risto Stevcev <me@risto.codes>
Co-authored-by: Soumt <rltks1305@naver.com>
Co-authored-by: yutotnh <57719497+yutotnh@users.noreply.github.com>
Co-authored-by: Gökçe Merdun <agmmnn@gmail.com>
Co-authored-by: Nathanael Rea <Nathan@NathanaelRea.com>
Co-authored-by: Usman Rajab <usman.rajab@gmail.com>
Co-authored-by: Francis The Basilisk <36006338+snorkysnark@users.noreply.github.com>
Co-authored-by: Lej77 <31554212+Lej77@users.noreply.github.com>
Co-authored-by: Tomáš Diblík <dibla.tomas@post.cz>
Co-authored-by: Jonas Kruckenberg <iterpre@protonmail.com>
Co-authored-by: Pascal Sommer <Pascal-So@users.noreply.github.com>
Co-authored-by: Bo <bertonzh@gmail.com>
Co-authored-by: Kevin Yue <k3vinyue@gmail.com>
fixed grammar and typos (#6937)
Fix api.js docs pipeline with updated typedoc dependencies (#6945)
closes #6887 (#6922)
fix(core): Fix `WindowBuilder::on_navigation` handler never registerd, closes #6865 (#6921)
fix(core): Fix `WindowBuilder::on_navigation` handler never registerd, closes #6865
fix broken symlinks in license files (#6336)
fix(cli): fix cli connection timeout to dev server (fix #6045) (#6046)
fix(bundler): ensure that there are no duplicate extension arguments when bundling on Windows, fixes #6103 (#6917)
fix(bundler): ensure that there are no duplicate extension arguments during bundling on Windows (fix #6103)
closes #5491 (#6408)
fix(nsis): prefill $INSTDIR with previous install path and respect `/D` flag, closes #6928 (#6935)
fix(nsis): prefill $INSTDIR with previous install path and respect `/D` flag, closes #6928
fix(updater): emit `UPTODATE` when server responds with 204, closes #6934 (#6970)
fix(core): unpin all dependencies, closes #6944 (#6966)
fix(bundler): Add new lang_file option in persian variant. (#6972)
fix(core/ipc): access url through webview native object, closes #6889 (#6976)
fix(core): remove trailing slash in http scope url, closes #5208 (#6974)
fix(core): remove trailing slash in http scope url, closes #5208
fix(cli): find correct binary when `--profile` is used, closes #6954 (#6979)
fix(cli): find correct binary when `--profile` is used, closes #6954
closes #6955 (#6987)
closes #6955
closes #6158 (#6969)
closes #6158
fix(cli): improve vs build tools detection (#6982)
fix: updated appimage script to follow symlinks for /usr/lib* (fix: #6992) (#6996)
fix(cli): correctly remove Cargo features (#7013)
Fix typo (#7012)
fix(cli): revert metadata.json field rename from #6795 (#7029)
closes #6732 (#6736)
fix: add missing file properties on Windows, closes #6676 (#6693)
fix(cli.js): detect node-20 binary (#6667)
fix version-or-publish workflow (#7031)
fix(cli/devserver): inject autoreload into HTML only, closes #6997 (#7032)
fix(bundler/nsis): write installer templates UTF16LE encoded, closes #7036 (#7040)
fix(bundler/nsis): write installer templates UTF16LE encoded, closes #7036
fix(core): rewrite `asset` protocol streaming, closes #6375 (#6390)
closes #5939 (#5960)
fix(core): use `safe_block_on` (#7047)
closes #6859 (#6933)
closes #6955 (#6998)
fix(core): populate webview_attrs from config, closes #6794 (#6797)
closes #5176 (#5180)
fix: sound for notifications on windows (fix #6652) (#6680)
close native window's buttons, closes #2353 (#6665)
fix(bundler/nsis): calculate accurate app size, closes #7056 (#7057)
fix(tests): only download update when it is available (#7061)
closes #6706 (#6712)
fix(doc): correct the doc of `content_protected()` (#7065)
closes #6472 (#6530)
fix(macros): use full path to Result to avoid issues with type aliases (#7071)
2023-05-30 03:29:24 +03:00
} ,
"desktopTemplate" : {
"description" : "Path to a custom desktop file Handlebars template.\n\nAvailable variables: `categories`, `comment` (optional), `exec`, `icon` and `name`." ,
"type" : [
"string" ,
"null"
]
2021-02-20 17:36:17 +03:00
}
} ,
"additionalProperties" : false
} ,
2022-05-18 15:53:56 +03:00
"MacConfig" : {
2023-03-17 19:17:34 +03:00
"description" : "Configuration for the macOS bundles.\n\nSee more: https://tauri.app/v1/api/config#macconfig" ,
2021-02-20 20:09:18 +03:00
"type" : "object" ,
"properties" : {
2022-05-18 15:53:56 +03:00
"frameworks" : {
"description" : "A list of strings indicating any macOS X frameworks that need to be bundled with the application.\n\nIf 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." ,
"type" : [
"array" ,
"null"
] ,
2022-03-03 23:32:12 +03:00
"items" : {
"type" : "string"
}
} ,
2022-05-18 15:53:56 +03:00
"minimumSystemVersion" : {
"description" : "A version string indicating the minimum macOS X version that the bundled application supports. Defaults to `10.13`.\n\nSetting it to `null` completely removes the `LSMinimumSystemVersion` field on the bundle's `Info.plist` and the `MACOSX_DEPLOYMENT_TARGET` environment variable.\n\nAn empty string is considered an invalid value so the default value is used." ,
"default" : "10.13" ,
2021-07-04 05:49:01 +03:00
"type" : [
"string" ,
"null"
]
2021-03-29 01:58:44 +03:00
} ,
2021-02-20 17:36:17 +03:00
"exceptionDomain" : {
2021-08-16 22:52:10 +03:00
"description" : "Allows your application to communicate with the outside world. It should be a lowercase, without port and protocol domain name." ,
2021-07-04 05:49:01 +03:00
"type" : [
"string" ,
"null"
]
2021-02-20 17:36:17 +03:00
} ,
"license" : {
2021-08-16 22:52:10 +03:00
"description" : "The path to the license file to add to the DMG bundle." ,
2021-07-04 05:49:01 +03:00
"type" : [
"string" ,
"null"
]
2021-02-20 17:36:17 +03:00
} ,
2022-05-18 15:53:56 +03:00
"signingIdentity" : {
"description" : "Identity to use for code signing." ,
2021-07-04 05:49:01 +03:00
"type" : [
"string" ,
"null"
]
2021-02-20 17:36:17 +03:00
} ,
2022-02-03 02:07:16 +03:00
"providerShortName" : {
"description" : "Provider short name for notarization." ,
2021-07-04 05:49:01 +03:00
"type" : [
"string" ,
"null"
]
2021-03-29 01:58:44 +03:00
} ,
2022-05-18 15:53:56 +03:00
"entitlements" : {
"description" : "Path to the entitlements file." ,
2021-07-04 05:49:01 +03:00
"type" : [
"string" ,
"null"
]
2021-02-20 17:36:17 +03:00
}
} ,
"additionalProperties" : false
} ,
2022-05-18 15:53:56 +03:00
"WindowsConfig" : {
2023-03-17 19:17:34 +03:00
"description" : "Windows bundler configuration.\n\nSee more: https://tauri.app/v1/api/config#windowsconfig" ,
2021-08-02 16:58:09 +03:00
"type" : "object" ,
"properties" : {
2022-05-18 15:53:56 +03:00
"digestAlgorithm" : {
"description" : "Specifies the file digest algorithm to use for creating file signatures. Required for code signing. SHA-256 is recommended." ,
2021-07-04 05:49:01 +03:00
"type" : [
"string" ,
"null"
]
2021-03-23 03:51:23 +03:00
} ,
2022-05-18 15:53:56 +03:00
"certificateThumbprint" : {
"description" : "Specifies the SHA1 hash of the signing certificate." ,
"type" : [
"string" ,
"null"
]
} ,
"timestampUrl" : {
"description" : "Server to use during timestamping." ,
"type" : [
"string" ,
"null"
]
} ,
"tsp" : {
"description" : "Whether to use Time-Stamp Protocol (TSP, a.k.a. RFC 3161) for the timestamp server. Your code signing provider may use a TSP timestamp server, like e.g. SSL.com does. If so, enable TSP by setting to true." ,
"default" : false ,
"type" : "boolean"
} ,
2022-06-26 21:45:31 +03:00
"webviewInstallMode" : {
"description" : "The installation mode for the Webview2 runtime." ,
"default" : {
"silent" : true ,
"type" : "downloadBootstrapper"
} ,
"allOf" : [
{
"$ref" : "#/definitions/WebviewInstallMode"
}
]
} ,
2022-05-18 15:53:56 +03:00
"webviewFixedRuntimePath" : {
2022-06-26 21:45:31 +03:00
"description" : "Path to the webview fixed runtime to use. Overwrites [`Self::webview_install_mode`] if set.\n\nWill be removed in v2, prefer the [`Self::webview_install_mode`] option.\n\nThe fixed version can be downloaded [on the official website](https://developer.microsoft.com/en-us/microsoft-edge/webview2/#download-section). The `.cab` file must be extracted to a folder and this folder path must be defined on this field." ,
2021-07-04 05:49:01 +03:00
"type" : [
"string" ,
"null"
]
2022-05-18 15:53:56 +03:00
} ,
"allowDowngrades" : {
"description" : "Validates a second app installation, blocking the user from installing an older version if set to `false`.\n\nFor instance, if `1.2.1` is installed, the user won't be able to install app version `1.2.0` or `1.1.5`.\n\nThe default value of this flag is `true`." ,
"default" : true ,
"type" : "boolean"
} ,
"wix" : {
"description" : "Configuration for the MSI generated with WiX." ,
"anyOf" : [
{
"$ref" : "#/definitions/WixConfig"
} ,
{
"type" : "null"
}
]
2023-01-03 20:29:20 +03:00
} ,
"nsis" : {
"description" : "Configuration for the installer generated with NSIS." ,
"anyOf" : [
{
"$ref" : "#/definitions/NsisConfig"
} ,
{
"type" : "null"
}
]
2021-03-23 03:51:23 +03:00
}
} ,
"additionalProperties" : false
} ,
2022-06-26 21:45:31 +03:00
"WebviewInstallMode" : {
2022-06-29 06:01:06 +03:00
"description" : "Install modes for the Webview2 runtime. Note that for the updater bundle [`Self::DownloadBootstrapper`] is used.\n\nFor more information see <https://tauri.app/v1/guides/building/windows>." ,
2022-06-26 21:45:31 +03:00
"oneOf" : [
{
"description" : "Do not install the Webview2 as part of the Windows Installer." ,
"type" : "object" ,
"required" : [
"type"
] ,
"properties" : {
"type" : {
"type" : "string" ,
"enum" : [
"skip"
]
}
} ,
"additionalProperties" : false
} ,
{
2023-03-28 17:04:44 +03:00
"description" : "Download the bootstrapper and run it. Requires an internet connection. Results in a smaller installer size, but is not recommended on Windows 7." ,
2022-06-26 21:45:31 +03:00
"type" : "object" ,
"required" : [
"type"
] ,
"properties" : {
"type" : {
"type" : "string" ,
"enum" : [
"downloadBootstrapper"
]
} ,
"silent" : {
"description" : "Instructs the installer to run the bootstrapper in silent mode. Defaults to `true`." ,
"default" : true ,
"type" : "boolean"
}
} ,
"additionalProperties" : false
} ,
{
2023-03-28 17:04:44 +03:00
"description" : "Embed the bootstrapper and run it. Requires an internet connection. Increases the installer size by around 1.8MB, but offers better support on Windows 7." ,
2022-06-26 21:45:31 +03:00
"type" : "object" ,
"required" : [
"type"
] ,
"properties" : {
"type" : {
"type" : "string" ,
"enum" : [
"embedBootstrapper"
]
} ,
"silent" : {
"description" : "Instructs the installer to run the bootstrapper in silent mode. Defaults to `true`." ,
"default" : true ,
"type" : "boolean"
}
} ,
"additionalProperties" : false
} ,
{
2023-03-28 17:04:44 +03:00
"description" : "Embed the offline installer and run it. Does not require an internet connection. Increases the installer size by around 127MB." ,
2022-06-26 21:45:31 +03:00
"type" : "object" ,
"required" : [
"type"
] ,
"properties" : {
"type" : {
"type" : "string" ,
"enum" : [
"offlineInstaller"
]
} ,
"silent" : {
"description" : "Instructs the installer to run the installer in silent mode. Defaults to `true`." ,
"default" : true ,
"type" : "boolean"
}
} ,
"additionalProperties" : false
} ,
{
"description" : "Embed a fixed webview2 version and use it at runtime. Increases the installer size by around 180MB." ,
"type" : "object" ,
"required" : [
"path" ,
"type"
] ,
"properties" : {
"type" : {
"type" : "string" ,
"enum" : [
"fixedRuntime"
]
} ,
"path" : {
"description" : "The path to the fixed runtime to use.\n\nThe fixed version can be downloaded [on the official website](https://developer.microsoft.com/en-us/microsoft-edge/webview2/#download-section). The `.cab` file must be extracted to a folder and this folder path must be defined on this field." ,
"type" : "string"
}
} ,
"additionalProperties" : false
}
]
} ,
2022-05-18 15:53:56 +03:00
"WixConfig" : {
2023-03-17 19:17:34 +03:00
"description" : "Configuration for the MSI bundle using WiX.\n\nSee more: https://tauri.app/v1/api/config#wixconfig" ,
2021-08-02 16:58:09 +03:00
"type" : "object" ,
"properties" : {
2022-05-18 15:53:56 +03:00
"language" : {
"description" : "The installer languages to build. See <https://docs.microsoft.com/en-us/windows/win32/msi/localizing-the-error-and-actiontext-tables>." ,
"default" : "en-US" ,
"allOf" : [
{
"$ref" : "#/definitions/WixLanguage"
}
]
} ,
"template" : {
"description" : "A custom .wxs template to use." ,
"type" : [
"string" ,
"null"
]
} ,
"fragmentPaths" : {
"description" : "A list of paths to .wxs files with WiX fragments to use." ,
"default" : [ ] ,
"type" : "array" ,
"items" : {
"type" : "string"
}
} ,
"componentGroupRefs" : {
"description" : "The ComponentGroup element ids you want to reference from the fragments." ,
"default" : [ ] ,
"type" : "array" ,
"items" : {
"type" : "string"
}
} ,
"componentRefs" : {
"description" : "The Component element ids you want to reference from the fragments." ,
"default" : [ ] ,
"type" : "array" ,
"items" : {
"type" : "string"
}
} ,
"featureGroupRefs" : {
"description" : "The FeatureGroup element ids you want to reference from the fragments." ,
"default" : [ ] ,
"type" : "array" ,
"items" : {
"type" : "string"
}
} ,
"featureRefs" : {
"description" : "The Feature element ids you want to reference from the fragments." ,
"default" : [ ] ,
"type" : "array" ,
"items" : {
"type" : "string"
}
} ,
"mergeRefs" : {
"description" : "The Merge element ids you want to reference from the fragments." ,
"default" : [ ] ,
"type" : "array" ,
"items" : {
"type" : "string"
}
} ,
"skipWebviewInstall" : {
2022-06-26 21:45:31 +03:00
"description" : "Disables the Webview2 runtime installation after app install.\n\nWill be removed in v2, prefer the [`WindowsConfig::webview_install_mode`] option." ,
2022-05-18 15:53:56 +03:00
"default" : false ,
"type" : "boolean"
} ,
"license" : {
"description" : "The path to the license file to render on the installer.\n\nMust be an RTF file, so if a different extension is provided, we convert it to the RTF format." ,
"type" : [
"string" ,
"null"
]
} ,
"enableElevatedUpdateTask" : {
"description" : "Create an elevated update task within Windows Task Scheduler." ,
2021-08-02 16:58:09 +03:00
"default" : false ,
"type" : "boolean"
2022-05-18 15:53:56 +03:00
} ,
"bannerPath" : {
"description" : "Path to a bitmap file to use as the installation user interface banner. This bitmap will appear at the top of all but the first page of the installer.\n\nThe required dimensions are 493px × 58px." ,
"type" : [
"string" ,
"null"
]
} ,
"dialogImagePath" : {
"description" : "Path to a bitmap file to use on the installation user interface dialogs. It is used on the welcome and completion dialogs. The required dimensions are 493px × 312px." ,
"type" : [
"string" ,
"null"
]
2021-08-02 16:58:09 +03:00
}
} ,
"additionalProperties" : false
} ,
2022-05-18 15:53:56 +03:00
"WixLanguage" : {
"description" : "The languages to build using WiX." ,
"anyOf" : [
2022-01-17 16:46:14 +03:00
{
2022-05-18 15:53:56 +03:00
"description" : "A single language to build, without configuration." ,
"type" : "string"
} ,
{
"description" : "A list of languages to build, without configuration." ,
"type" : "array" ,
"items" : {
"type" : "string"
2022-01-17 16:46:14 +03:00
}
} ,
{
2022-05-18 15:53:56 +03:00
"description" : "A map of languages and its configuration." ,
2022-01-17 16:46:14 +03:00
"type" : "object" ,
2022-05-18 15:53:56 +03:00
"additionalProperties" : {
"$ref" : "#/definitions/WixLanguageConfig"
2022-01-17 16:46:14 +03:00
}
}
]
} ,
2022-05-18 15:53:56 +03:00
"WixLanguageConfig" : {
2023-03-17 19:17:34 +03:00
"description" : "Configuration for a target language for the WiX build.\n\nSee more: https://tauri.app/v1/api/config#wixlanguageconfig" ,
2022-01-09 20:48:55 +03:00
"type" : "object" ,
"properties" : {
2022-05-18 15:53:56 +03:00
"localePath" : {
"description" : "The path to a locale (`.wxl`) file. See <https://wixtoolset.org/documentation/manual/v3/howtos/ui_and_localization/build_a_localized_version.html>." ,
"type" : [
"string" ,
"null"
]
2022-01-09 20:48:55 +03:00
}
} ,
"additionalProperties" : false
} ,
2023-01-03 20:29:20 +03:00
"NsisConfig" : {
"description" : "Configuration for the Installer bundle using NSIS." ,
"type" : "object" ,
"properties" : {
Merge remote-tracking branch 'origin/dev' into next (#7067)
Co-authored-by: wusyong <wusyong@users.noreply.github.com>
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: Simon Hyll <hyllsimon@gmail.com>
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: chip <chip@chip.sh>
Co-authored-by: Raphii <iam@raphii.co>
Co-authored-by: Ronie Martinez <ronmarti18@gmail.com>
Co-authored-by: hanaTsuk1 <101488209+hanaTsuk1@users.noreply.github.com>
Co-authored-by: nathan-fall <39990940+nathan-fall@users.noreply.github.com>
Co-authored-by: Akshay <nerdy@peppe.rs>
Co-authored-by: KurikoMoe <kurikomoe@gmail.com>
Co-authored-by: Guilherme Oenning <me@goenning.net>
Co-authored-by: Pierre Cashon <biaocy91@gmail.com>
Co-authored-by: Jack Wills <32690432+mrjackwills@users.noreply.github.com>
Co-authored-by: Amirhossein Akhlaghpour <m9.akhlaghpoor@gmail.com>
Co-authored-by: Risto Stevcev <me@risto.codes>
Co-authored-by: Soumt <rltks1305@naver.com>
Co-authored-by: yutotnh <57719497+yutotnh@users.noreply.github.com>
Co-authored-by: Gökçe Merdun <agmmnn@gmail.com>
Co-authored-by: Nathanael Rea <Nathan@NathanaelRea.com>
Co-authored-by: Usman Rajab <usman.rajab@gmail.com>
Co-authored-by: Francis The Basilisk <36006338+snorkysnark@users.noreply.github.com>
Co-authored-by: Lej77 <31554212+Lej77@users.noreply.github.com>
Co-authored-by: Tomáš Diblík <dibla.tomas@post.cz>
Co-authored-by: Jonas Kruckenberg <iterpre@protonmail.com>
Co-authored-by: Pascal Sommer <Pascal-So@users.noreply.github.com>
Co-authored-by: Bo <bertonzh@gmail.com>
Co-authored-by: Kevin Yue <k3vinyue@gmail.com>
fixed grammar and typos (#6937)
Fix api.js docs pipeline with updated typedoc dependencies (#6945)
closes #6887 (#6922)
fix(core): Fix `WindowBuilder::on_navigation` handler never registerd, closes #6865 (#6921)
fix(core): Fix `WindowBuilder::on_navigation` handler never registerd, closes #6865
fix broken symlinks in license files (#6336)
fix(cli): fix cli connection timeout to dev server (fix #6045) (#6046)
fix(bundler): ensure that there are no duplicate extension arguments when bundling on Windows, fixes #6103 (#6917)
fix(bundler): ensure that there are no duplicate extension arguments during bundling on Windows (fix #6103)
closes #5491 (#6408)
fix(nsis): prefill $INSTDIR with previous install path and respect `/D` flag, closes #6928 (#6935)
fix(nsis): prefill $INSTDIR with previous install path and respect `/D` flag, closes #6928
fix(updater): emit `UPTODATE` when server responds with 204, closes #6934 (#6970)
fix(core): unpin all dependencies, closes #6944 (#6966)
fix(bundler): Add new lang_file option in persian variant. (#6972)
fix(core/ipc): access url through webview native object, closes #6889 (#6976)
fix(core): remove trailing slash in http scope url, closes #5208 (#6974)
fix(core): remove trailing slash in http scope url, closes #5208
fix(cli): find correct binary when `--profile` is used, closes #6954 (#6979)
fix(cli): find correct binary when `--profile` is used, closes #6954
closes #6955 (#6987)
closes #6955
closes #6158 (#6969)
closes #6158
fix(cli): improve vs build tools detection (#6982)
fix: updated appimage script to follow symlinks for /usr/lib* (fix: #6992) (#6996)
fix(cli): correctly remove Cargo features (#7013)
Fix typo (#7012)
fix(cli): revert metadata.json field rename from #6795 (#7029)
closes #6732 (#6736)
fix: add missing file properties on Windows, closes #6676 (#6693)
fix(cli.js): detect node-20 binary (#6667)
fix version-or-publish workflow (#7031)
fix(cli/devserver): inject autoreload into HTML only, closes #6997 (#7032)
fix(bundler/nsis): write installer templates UTF16LE encoded, closes #7036 (#7040)
fix(bundler/nsis): write installer templates UTF16LE encoded, closes #7036
fix(core): rewrite `asset` protocol streaming, closes #6375 (#6390)
closes #5939 (#5960)
fix(core): use `safe_block_on` (#7047)
closes #6859 (#6933)
closes #6955 (#6998)
fix(core): populate webview_attrs from config, closes #6794 (#6797)
closes #5176 (#5180)
fix: sound for notifications on windows (fix #6652) (#6680)
close native window's buttons, closes #2353 (#6665)
fix(bundler/nsis): calculate accurate app size, closes #7056 (#7057)
fix(tests): only download update when it is available (#7061)
closes #6706 (#6712)
fix(doc): correct the doc of `content_protected()` (#7065)
closes #6472 (#6530)
fix(macros): use full path to Result to avoid issues with type aliases (#7071)
2023-05-30 03:29:24 +03:00
"template" : {
"description" : "A custom .nsi template to use." ,
"type" : [
"string" ,
"null"
]
} ,
2023-01-03 20:29:20 +03:00
"license" : {
"description" : "The path to the license file to render on the installer." ,
"type" : [
"string" ,
"null"
]
} ,
"headerImage" : {
"description" : "The path to a bitmap file to display on the header of installers pages.\n\nThe recommended dimensions are 150px x 57px." ,
"type" : [
"string" ,
"null"
]
} ,
"sidebarImage" : {
"description" : "The path to a bitmap file for the Welcome page and the Finish page.\n\nThe recommended dimensions are 164px x 314px." ,
"type" : [
"string" ,
"null"
]
} ,
"installerIcon" : {
"description" : "The path to an icon file used as the installer icon." ,
"type" : [
"string" ,
"null"
]
} ,
"installMode" : {
"description" : "Whether the installation will be for all users or just the current user." ,
"default" : "currentUser" ,
"allOf" : [
{
"$ref" : "#/definitions/NSISInstallerMode"
}
]
2023-01-19 20:39:53 +03:00
} ,
"languages" : {
"description" : "A list of installer languages. By default the OS language is used. If the OS language is not in the list of languages, the first language will be used. To allow the user to select the language, set `display_language_selector` to `true`.\n\nSee <https://github.com/kichik/nsis/tree/9465c08046f00ccb6eda985abbdbf52c275c6c4d/Contrib/Language%20files> for the complete list of languages." ,
"type" : [
"array" ,
"null"
] ,
"items" : {
"type" : "string"
}
} ,
Merge remote-tracking branch 'origin/dev' into next (#7067)
Co-authored-by: wusyong <wusyong@users.noreply.github.com>
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: Simon Hyll <hyllsimon@gmail.com>
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: chip <chip@chip.sh>
Co-authored-by: Raphii <iam@raphii.co>
Co-authored-by: Ronie Martinez <ronmarti18@gmail.com>
Co-authored-by: hanaTsuk1 <101488209+hanaTsuk1@users.noreply.github.com>
Co-authored-by: nathan-fall <39990940+nathan-fall@users.noreply.github.com>
Co-authored-by: Akshay <nerdy@peppe.rs>
Co-authored-by: KurikoMoe <kurikomoe@gmail.com>
Co-authored-by: Guilherme Oenning <me@goenning.net>
Co-authored-by: Pierre Cashon <biaocy91@gmail.com>
Co-authored-by: Jack Wills <32690432+mrjackwills@users.noreply.github.com>
Co-authored-by: Amirhossein Akhlaghpour <m9.akhlaghpoor@gmail.com>
Co-authored-by: Risto Stevcev <me@risto.codes>
Co-authored-by: Soumt <rltks1305@naver.com>
Co-authored-by: yutotnh <57719497+yutotnh@users.noreply.github.com>
Co-authored-by: Gökçe Merdun <agmmnn@gmail.com>
Co-authored-by: Nathanael Rea <Nathan@NathanaelRea.com>
Co-authored-by: Usman Rajab <usman.rajab@gmail.com>
Co-authored-by: Francis The Basilisk <36006338+snorkysnark@users.noreply.github.com>
Co-authored-by: Lej77 <31554212+Lej77@users.noreply.github.com>
Co-authored-by: Tomáš Diblík <dibla.tomas@post.cz>
Co-authored-by: Jonas Kruckenberg <iterpre@protonmail.com>
Co-authored-by: Pascal Sommer <Pascal-So@users.noreply.github.com>
Co-authored-by: Bo <bertonzh@gmail.com>
Co-authored-by: Kevin Yue <k3vinyue@gmail.com>
fixed grammar and typos (#6937)
Fix api.js docs pipeline with updated typedoc dependencies (#6945)
closes #6887 (#6922)
fix(core): Fix `WindowBuilder::on_navigation` handler never registerd, closes #6865 (#6921)
fix(core): Fix `WindowBuilder::on_navigation` handler never registerd, closes #6865
fix broken symlinks in license files (#6336)
fix(cli): fix cli connection timeout to dev server (fix #6045) (#6046)
fix(bundler): ensure that there are no duplicate extension arguments when bundling on Windows, fixes #6103 (#6917)
fix(bundler): ensure that there are no duplicate extension arguments during bundling on Windows (fix #6103)
closes #5491 (#6408)
fix(nsis): prefill $INSTDIR with previous install path and respect `/D` flag, closes #6928 (#6935)
fix(nsis): prefill $INSTDIR with previous install path and respect `/D` flag, closes #6928
fix(updater): emit `UPTODATE` when server responds with 204, closes #6934 (#6970)
fix(core): unpin all dependencies, closes #6944 (#6966)
fix(bundler): Add new lang_file option in persian variant. (#6972)
fix(core/ipc): access url through webview native object, closes #6889 (#6976)
fix(core): remove trailing slash in http scope url, closes #5208 (#6974)
fix(core): remove trailing slash in http scope url, closes #5208
fix(cli): find correct binary when `--profile` is used, closes #6954 (#6979)
fix(cli): find correct binary when `--profile` is used, closes #6954
closes #6955 (#6987)
closes #6955
closes #6158 (#6969)
closes #6158
fix(cli): improve vs build tools detection (#6982)
fix: updated appimage script to follow symlinks for /usr/lib* (fix: #6992) (#6996)
fix(cli): correctly remove Cargo features (#7013)
Fix typo (#7012)
fix(cli): revert metadata.json field rename from #6795 (#7029)
closes #6732 (#6736)
fix: add missing file properties on Windows, closes #6676 (#6693)
fix(cli.js): detect node-20 binary (#6667)
fix version-or-publish workflow (#7031)
fix(cli/devserver): inject autoreload into HTML only, closes #6997 (#7032)
fix(bundler/nsis): write installer templates UTF16LE encoded, closes #7036 (#7040)
fix(bundler/nsis): write installer templates UTF16LE encoded, closes #7036
fix(core): rewrite `asset` protocol streaming, closes #6375 (#6390)
closes #5939 (#5960)
fix(core): use `safe_block_on` (#7047)
closes #6859 (#6933)
closes #6955 (#6998)
fix(core): populate webview_attrs from config, closes #6794 (#6797)
closes #5176 (#5180)
fix: sound for notifications on windows (fix #6652) (#6680)
close native window's buttons, closes #2353 (#6665)
fix(bundler/nsis): calculate accurate app size, closes #7056 (#7057)
fix(tests): only download update when it is available (#7061)
closes #6706 (#6712)
fix(doc): correct the doc of `content_protected()` (#7065)
closes #6472 (#6530)
fix(macros): use full path to Result to avoid issues with type aliases (#7071)
2023-05-30 03:29:24 +03:00
"customLanguageFiles" : {
"description" : "A key-value pair where the key is the language and the value is the path to a custom `.nsh` file that holds the translated text for tauri's custom messages.\n\nSee <https://github.com/tauri-apps/tauri/blob/dev/tooling/bundler/src/bundle/windows/templates/nsis-languages/English.nsh> for an example `.nsh` file.\n\n**Note**: the key must be a valid NSIS language and it must be added to [`NsisConfig`] languages array," ,
"type" : [
"object" ,
"null"
] ,
"additionalProperties" : {
"type" : "string"
}
} ,
2023-01-19 20:39:53 +03:00
"displayLanguageSelector" : {
"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." ,
"default" : false ,
"type" : "boolean"
2023-01-03 20:29:20 +03:00
}
} ,
"additionalProperties" : false
} ,
"NSISInstallerMode" : {
"description" : "Install Modes for the NSIS installer." ,
2023-02-08 02:47:31 +03:00
"oneOf" : [
{
"description" : "Default mode for the installer.\n\nInstall the app by default in a directory that doesn't require Administrator access.\n\nInstaller metadata will be saved under the `HKCU` registry path." ,
"type" : "string" ,
"enum" : [
"currentUser"
]
} ,
{
"description" : "Install the app by default in the `Program Files` folder directory requires Administrator access for the installation.\n\nInstaller metadata will be saved under the `HKLM` registry path." ,
"type" : "string" ,
"enum" : [
"perMachine"
]
} ,
{
"description" : "Combines both modes and allows the user to choose at install time whether to install for the current user or per machine. Note that this mode will require Administrator access even if the user wants to install it for the current user only.\n\nInstaller metadata will be saved under the `HKLM` or `HKCU` registry path based on the user's choice." ,
"type" : "string" ,
"enum" : [
"both"
]
}
2023-01-03 20:29:20 +03:00
]
} ,
2022-08-28 21:34:41 +03:00
"IosConfig" : {
"description" : "General configuration for the iOS target." ,
"type" : "object" ,
"properties" : {
"developmentTeam" : {
"description" : "The development team. This value is required for iOS development because code signing is enforced. The `TAURI_APPLE_DEVELOPMENT_TEAM` environment variable can be set to overwrite it." ,
"type" : [
"string" ,
"null"
]
}
} ,
"additionalProperties" : false
} ,
2023-04-07 17:21:42 +03:00
"AndroidConfig" : {
"description" : "General configuration for the iOS target." ,
"type" : "object" ,
"properties" : {
"minSdkVersion" : {
"description" : "The minimum API level required for the application to run. The Android system will prevent the user from installing the application if the system's API level is lower than the value specified." ,
"default" : 24 ,
"type" : "integer" ,
"format" : "uint32" ,
"minimum" : 0.0
}
} ,
"additionalProperties" : false
} ,
2023-05-13 13:48:28 +03:00
"UpdaterConfig" : {
"description" : "The Updater configuration object.\n\nSee more: https://tauri.app/v1/api/config#updaterconfig" ,
2022-01-09 20:26:58 +03:00
"type" : "object" ,
"properties" : {
2023-05-13 13:48:28 +03:00
"active" : {
"description" : "Whether the updater is active or not." ,
2022-01-09 20:26:58 +03:00
"default" : false ,
"type" : "boolean"
} ,
2023-05-13 13:48:28 +03:00
"pubkey" : {
"description" : "Signature public key." ,
"default" : "" ,
"type" : "string"
2022-03-28 17:55:54 +03:00
} ,
2023-05-13 13:48:28 +03:00
"windows" : {
"description" : "The Windows configuration for the updater." ,
2022-05-18 15:53:56 +03:00
"default" : {
2023-05-13 13:48:28 +03:00
"installMode" : "passive"
2022-05-18 15:53:56 +03:00
} ,
"allOf" : [
2022-03-05 03:18:39 +03:00
{
2023-05-13 13:48:28 +03:00
"$ref" : "#/definitions/UpdaterWindowsConfig"
2022-03-05 03:18:39 +03:00
}
2021-07-04 05:49:01 +03:00
]
2023-05-13 13:48:28 +03:00
}
} ,
"additionalProperties" : false
} ,
"UpdaterWindowsConfig" : {
"description" : "The updater configuration for Windows.\n\nSee more: https://tauri.app/v1/api/config#updaterwindowsconfig" ,
"type" : "object" ,
"properties" : {
"installMode" : {
"description" : "The installation mode for the update on Windows. Defaults to `passive`." ,
"default" : "passive" ,
2022-01-26 18:57:08 +03:00
"allOf" : [
{
2023-05-13 13:48:28 +03:00
"$ref" : "#/definitions/WindowsUpdateInstallMode"
2022-01-26 18:57:08 +03:00
}
]
2023-05-13 13:48:28 +03:00
}
} ,
"additionalProperties" : false
} ,
"WindowsUpdateInstallMode" : {
"description" : "Install modes for the Windows update." ,
"oneOf" : [
{
"description" : "Specifies there's a basic UI during the installation process, including a final dialog box at the end." ,
"type" : "string" ,
"enum" : [
"basicUi"
2022-01-26 18:57:08 +03:00
]
2021-10-24 15:30:58 +03:00
} ,
2023-05-13 13:48:28 +03:00
{
Merge remote-tracking branch 'origin/dev' into next (#7067)
Co-authored-by: wusyong <wusyong@users.noreply.github.com>
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: Simon Hyll <hyllsimon@gmail.com>
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: chip <chip@chip.sh>
Co-authored-by: Raphii <iam@raphii.co>
Co-authored-by: Ronie Martinez <ronmarti18@gmail.com>
Co-authored-by: hanaTsuk1 <101488209+hanaTsuk1@users.noreply.github.com>
Co-authored-by: nathan-fall <39990940+nathan-fall@users.noreply.github.com>
Co-authored-by: Akshay <nerdy@peppe.rs>
Co-authored-by: KurikoMoe <kurikomoe@gmail.com>
Co-authored-by: Guilherme Oenning <me@goenning.net>
Co-authored-by: Pierre Cashon <biaocy91@gmail.com>
Co-authored-by: Jack Wills <32690432+mrjackwills@users.noreply.github.com>
Co-authored-by: Amirhossein Akhlaghpour <m9.akhlaghpoor@gmail.com>
Co-authored-by: Risto Stevcev <me@risto.codes>
Co-authored-by: Soumt <rltks1305@naver.com>
Co-authored-by: yutotnh <57719497+yutotnh@users.noreply.github.com>
Co-authored-by: Gökçe Merdun <agmmnn@gmail.com>
Co-authored-by: Nathanael Rea <Nathan@NathanaelRea.com>
Co-authored-by: Usman Rajab <usman.rajab@gmail.com>
Co-authored-by: Francis The Basilisk <36006338+snorkysnark@users.noreply.github.com>
Co-authored-by: Lej77 <31554212+Lej77@users.noreply.github.com>
Co-authored-by: Tomáš Diblík <dibla.tomas@post.cz>
Co-authored-by: Jonas Kruckenberg <iterpre@protonmail.com>
Co-authored-by: Pascal Sommer <Pascal-So@users.noreply.github.com>
Co-authored-by: Bo <bertonzh@gmail.com>
Co-authored-by: Kevin Yue <k3vinyue@gmail.com>
fixed grammar and typos (#6937)
Fix api.js docs pipeline with updated typedoc dependencies (#6945)
closes #6887 (#6922)
fix(core): Fix `WindowBuilder::on_navigation` handler never registerd, closes #6865 (#6921)
fix(core): Fix `WindowBuilder::on_navigation` handler never registerd, closes #6865
fix broken symlinks in license files (#6336)
fix(cli): fix cli connection timeout to dev server (fix #6045) (#6046)
fix(bundler): ensure that there are no duplicate extension arguments when bundling on Windows, fixes #6103 (#6917)
fix(bundler): ensure that there are no duplicate extension arguments during bundling on Windows (fix #6103)
closes #5491 (#6408)
fix(nsis): prefill $INSTDIR with previous install path and respect `/D` flag, closes #6928 (#6935)
fix(nsis): prefill $INSTDIR with previous install path and respect `/D` flag, closes #6928
fix(updater): emit `UPTODATE` when server responds with 204, closes #6934 (#6970)
fix(core): unpin all dependencies, closes #6944 (#6966)
fix(bundler): Add new lang_file option in persian variant. (#6972)
fix(core/ipc): access url through webview native object, closes #6889 (#6976)
fix(core): remove trailing slash in http scope url, closes #5208 (#6974)
fix(core): remove trailing slash in http scope url, closes #5208
fix(cli): find correct binary when `--profile` is used, closes #6954 (#6979)
fix(cli): find correct binary when `--profile` is used, closes #6954
closes #6955 (#6987)
closes #6955
closes #6158 (#6969)
closes #6158
fix(cli): improve vs build tools detection (#6982)
fix: updated appimage script to follow symlinks for /usr/lib* (fix: #6992) (#6996)
fix(cli): correctly remove Cargo features (#7013)
Fix typo (#7012)
fix(cli): revert metadata.json field rename from #6795 (#7029)
closes #6732 (#6736)
fix: add missing file properties on Windows, closes #6676 (#6693)
fix(cli.js): detect node-20 binary (#6667)
fix version-or-publish workflow (#7031)
fix(cli/devserver): inject autoreload into HTML only, closes #6997 (#7032)
fix(bundler/nsis): write installer templates UTF16LE encoded, closes #7036 (#7040)
fix(bundler/nsis): write installer templates UTF16LE encoded, closes #7036
fix(core): rewrite `asset` protocol streaming, closes #6375 (#6390)
closes #5939 (#5960)
fix(core): use `safe_block_on` (#7047)
closes #6859 (#6933)
closes #6955 (#6998)
fix(core): populate webview_attrs from config, closes #6794 (#6797)
closes #5176 (#5180)
fix: sound for notifications on windows (fix #6652) (#6680)
close native window's buttons, closes #2353 (#6665)
fix(bundler/nsis): calculate accurate app size, closes #7056 (#7057)
fix(tests): only download update when it is available (#7061)
closes #6706 (#6712)
fix(doc): correct the doc of `content_protected()` (#7065)
closes #6472 (#6530)
fix(macros): use full path to Result to avoid issues with type aliases (#7071)
2023-05-30 03:29:24 +03:00
"description" : "The quiet mode means there's no user interaction required. Requires admin privileges if the installer does." ,
2023-05-13 13:48:28 +03:00
"type" : "string" ,
"enum" : [
"quiet"
2021-12-01 06:05:14 +03:00
]
} ,
2023-05-13 13:48:28 +03:00
{
"description" : "Specifies unattended mode, which means the installation only shows a progress bar." ,
"type" : "string" ,
"enum" : [
"passive"
2021-02-20 20:09:18 +03:00
]
2023-05-13 13:48:28 +03:00
}
]
} ,
"SecurityConfig" : {
"description" : "Security configuration.\n\nSee more: https://tauri.app/v1/api/config#securityconfig" ,
"type" : "object" ,
"properties" : {
"csp" : {
"description" : "The Content Security Policy that will be injected on all HTML files on the built application. If [`dev_csp`](#SecurityConfig.devCsp) is not specified, this value is also injected on dev.\n\nThis is a really important part of the configuration since it helps you ensure your WebView is secured. See <https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP>." ,
"anyOf" : [
2021-02-20 17:36:17 +03:00
{
2023-05-13 13:48:28 +03:00
"$ref" : "#/definitions/Csp"
} ,
2021-02-20 17:36:17 +03:00
{
2023-05-13 13:48:28 +03:00
"type" : "null"
2021-02-20 17:36:17 +03:00
}
]
} ,
2023-05-13 13:48:28 +03:00
"devCsp" : {
"description" : "The Content Security Policy that will be injected on all HTML files on development.\n\nThis is a really important part of the configuration since it helps you ensure your WebView is secured. See <https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP>." ,
"anyOf" : [
2022-01-17 16:46:14 +03:00
{
2023-05-13 13:48:28 +03:00
"$ref" : "#/definitions/Csp"
} ,
2021-02-20 17:36:17 +03:00
{
2023-05-13 13:48:28 +03:00
"type" : "null"
2021-02-20 17:36:17 +03:00
}
]
} ,
2023-05-13 13:48:28 +03:00
"freezePrototype" : {
"description" : "Freeze the `Object.prototype` when using the custom protocol." ,
"default" : false ,
"type" : "boolean"
2021-05-09 14:15:37 +03:00
} ,
2023-05-13 13:48:28 +03:00
"dangerousDisableAssetCspModification" : {
"description" : "Disables the Tauri-injected CSP sources.\n\nAt compile time, Tauri parses all the frontend assets and changes the Content-Security-Policy to only allow loading of your own scripts and styles by injecting nonce and hash sources. This stricts your CSP, which may introduce issues when using along with other flexing sources.\n\nThis configuration option allows both a boolean and a list of strings as value. A boolean instructs Tauri to disable the injection for all CSP injections, and a list of strings indicates the CSP directives that Tauri cannot inject.\n\n**WARNING:** Only disable this if you know what you are doing and have properly configured the CSP. Your application might be vulnerable to XSS attacks without this Tauri protection." ,
"default" : false ,
2021-04-05 20:51:17 +03:00
"allOf" : [
{
2023-05-13 13:48:28 +03:00
"$ref" : "#/definitions/DisabledCspModificationKind"
2021-04-05 20:51:17 +03:00
}
]
2022-10-03 20:49:59 +03:00
} ,
2023-05-13 13:48:28 +03:00
"dangerousRemoteDomainIpcAccess" : {
"description" : "Allow external domains to send command to Tauri.\n\nBy default, external domains do not have access to `window.__TAURI__`, which means they cannot communicate with the commands defined in Rust. This prevents attacks where an externally loaded malicious or compromised sites could start executing commands on the user's device.\n\nThis configuration allows a set of external domains to have access to the Tauri commands. When you configure a domain to be allowed to access the IPC, all subpaths are allowed. Subdomains are not allowed.\n\n**WARNING:** Only use this option if you either have internal checks against malicious external sites or you can trust the allowed external sites. You application might be vulnerable to dangerous Tauri command related attacks otherwise." ,
"default" : [ ] ,
"type" : "array" ,
"items" : {
"$ref" : "#/definitions/RemoteDomainAccessScope"
}
} ,
"assetProtocol" : {
"description" : "Custom protocol config." ,
2022-10-03 20:49:59 +03:00
"default" : {
2023-05-13 13:48:28 +03:00
"enable" : false ,
"scope" : [ ]
2022-10-03 20:49:59 +03:00
} ,
"allOf" : [
{
2023-05-13 13:48:28 +03:00
"$ref" : "#/definitions/AssetProtocolConfig"
2022-10-03 20:49:59 +03:00
}
]
2021-02-20 17:36:17 +03:00
}
} ,
"additionalProperties" : false
2021-04-05 20:51:17 +03:00
} ,
2023-05-13 13:48:28 +03:00
"Csp" : {
"description" : "A Content-Security-Policy definition. See <https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP>." ,
"anyOf" : [
{
"description" : "The entire CSP policy in a single text string." ,
"type" : "string"
2021-04-05 20:51:17 +03:00
} ,
2023-05-13 13:48:28 +03:00
{
"description" : "An object mapping a directive with its sources values as a list of strings." ,
"type" : "object" ,
"additionalProperties" : {
"$ref" : "#/definitions/CspDirectiveSources"
}
}
]
} ,
"CspDirectiveSources" : {
"description" : "A Content-Security-Policy directive source list. See <https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/Sources#sources>." ,
"anyOf" : [
{
"description" : "An inline list of CSP sources. Same as [`Self::List`], but concatenated with a space separator." ,
"type" : "string"
2022-05-18 15:53:56 +03:00
} ,
{
"description" : "A list of CSP sources. The collection will be concatenated with a space separator for the CSP string." ,
"type" : "array" ,
"items" : {
"type" : "string"
}
}
]
} ,
"DisabledCspModificationKind" : {
"description" : "The possible values for the `dangerous_disable_asset_csp_modification` config option." ,
"anyOf" : [
{
"description" : "If `true`, disables all CSP modification. `false` is the default value and it configures Tauri to control the CSP." ,
"type" : "boolean"
2021-12-10 18:24:45 +03:00
} ,
{
2022-05-18 15:53:56 +03:00
"description" : "Disables the given list of CSP directives modifications." ,
"type" : "array" ,
"items" : {
"type" : "string"
}
2021-12-10 18:24:45 +03:00
}
]
} ,
2023-04-11 14:50:15 +03:00
"RemoteDomainAccessScope" : {
"description" : "External command access definition." ,
"type" : "object" ,
"required" : [
"domain" ,
"windows"
] ,
"properties" : {
"scheme" : {
"description" : "The URL scheme to allow. By default, all schemas are allowed." ,
"type" : [
"string" ,
"null"
]
} ,
"domain" : {
"description" : "The domain to allow." ,
"type" : "string"
} ,
"windows" : {
"description" : "The list of window labels this scope applies to." ,
"type" : "array" ,
"items" : {
"type" : "string"
}
} ,
"plugins" : {
"description" : "The list of plugins that are allowed in this scope." ,
"default" : [ ] ,
"type" : "array" ,
"items" : {
"type" : "string"
}
}
} ,
"additionalProperties" : false
} ,
2023-05-13 13:48:28 +03:00
"AssetProtocolConfig" : {
"description" : "Config for the asset custom protocol.\n\nSee more: https://tauri.app/v1/api/config#assetprotocolconfig" ,
2021-03-29 01:58:44 +03:00
"type" : "object" ,
"properties" : {
2023-05-13 13:48:28 +03:00
"scope" : {
"description" : "The access scope for the asset protocol." ,
"default" : [ ] ,
2022-05-18 15:53:56 +03:00
"allOf" : [
2021-04-23 21:30:44 +03:00
{
2023-05-13 13:48:28 +03:00
"$ref" : "#/definitions/FsScope"
2022-05-18 15:53:56 +03:00
}
]
2023-05-13 13:48:28 +03:00
} ,
"enable" : {
"description" : "Enables the asset protocol." ,
"default" : false ,
"type" : "boolean"
2022-05-18 15:53:56 +03:00
}
} ,
"additionalProperties" : false
} ,
2023-05-13 13:48:28 +03:00
"FsScope" : {
"description" : "Protocol scope definition. It is a list of glob patterns that restrict the API access from the webview.\n\nEach pattern can start with a variable that resolves to a system base directory. The variables are: `$AUDIO`, `$CACHE`, `$CONFIG`, `$DATA`, `$LOCALDATA`, `$DESKTOP`, `$DOCUMENT`, `$DOWNLOAD`, `$EXE`, `$FONT`, `$HOME`, `$PICTURE`, `$PUBLIC`, `$RUNTIME`, `$TEMPLATE`, `$VIDEO`, `$RESOURCE`, `$APP`, `$LOG`, `$TEMP`, `$APPCONFIG`, `$APPDATA`, `$APPLOCALDATA`, `$APPCACHE`, `$APPLOG`." ,
"anyOf" : [
{
"description" : "A list of paths that are allowed by this scope." ,
2023-01-03 20:29:20 +03:00
"type" : "array" ,
"items" : {
"type" : "string"
}
} ,
2022-10-28 16:44:37 +03:00
{
2023-05-13 13:48:28 +03:00
"description" : "A complete scope configuration." ,
"type" : "object" ,
"properties" : {
"allow" : {
"description" : "A list of paths that are allowed by this scope." ,
"default" : [ ] ,
"type" : "array" ,
"items" : {
"type" : "string"
}
} ,
"deny" : {
"description" : "A list of paths that are not allowed by this scope. This gets precedence over the [`Self::Scope::allow`] list." ,
"default" : [ ] ,
"type" : "array" ,
"items" : {
"type" : "string"
}
Merge remote-tracking branch 'origin/dev' into next (#7067)
Co-authored-by: wusyong <wusyong@users.noreply.github.com>
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: Simon Hyll <hyllsimon@gmail.com>
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: chip <chip@chip.sh>
Co-authored-by: Raphii <iam@raphii.co>
Co-authored-by: Ronie Martinez <ronmarti18@gmail.com>
Co-authored-by: hanaTsuk1 <101488209+hanaTsuk1@users.noreply.github.com>
Co-authored-by: nathan-fall <39990940+nathan-fall@users.noreply.github.com>
Co-authored-by: Akshay <nerdy@peppe.rs>
Co-authored-by: KurikoMoe <kurikomoe@gmail.com>
Co-authored-by: Guilherme Oenning <me@goenning.net>
Co-authored-by: Pierre Cashon <biaocy91@gmail.com>
Co-authored-by: Jack Wills <32690432+mrjackwills@users.noreply.github.com>
Co-authored-by: Amirhossein Akhlaghpour <m9.akhlaghpoor@gmail.com>
Co-authored-by: Risto Stevcev <me@risto.codes>
Co-authored-by: Soumt <rltks1305@naver.com>
Co-authored-by: yutotnh <57719497+yutotnh@users.noreply.github.com>
Co-authored-by: Gökçe Merdun <agmmnn@gmail.com>
Co-authored-by: Nathanael Rea <Nathan@NathanaelRea.com>
Co-authored-by: Usman Rajab <usman.rajab@gmail.com>
Co-authored-by: Francis The Basilisk <36006338+snorkysnark@users.noreply.github.com>
Co-authored-by: Lej77 <31554212+Lej77@users.noreply.github.com>
Co-authored-by: Tomáš Diblík <dibla.tomas@post.cz>
Co-authored-by: Jonas Kruckenberg <iterpre@protonmail.com>
Co-authored-by: Pascal Sommer <Pascal-So@users.noreply.github.com>
Co-authored-by: Bo <bertonzh@gmail.com>
Co-authored-by: Kevin Yue <k3vinyue@gmail.com>
fixed grammar and typos (#6937)
Fix api.js docs pipeline with updated typedoc dependencies (#6945)
closes #6887 (#6922)
fix(core): Fix `WindowBuilder::on_navigation` handler never registerd, closes #6865 (#6921)
fix(core): Fix `WindowBuilder::on_navigation` handler never registerd, closes #6865
fix broken symlinks in license files (#6336)
fix(cli): fix cli connection timeout to dev server (fix #6045) (#6046)
fix(bundler): ensure that there are no duplicate extension arguments when bundling on Windows, fixes #6103 (#6917)
fix(bundler): ensure that there are no duplicate extension arguments during bundling on Windows (fix #6103)
closes #5491 (#6408)
fix(nsis): prefill $INSTDIR with previous install path and respect `/D` flag, closes #6928 (#6935)
fix(nsis): prefill $INSTDIR with previous install path and respect `/D` flag, closes #6928
fix(updater): emit `UPTODATE` when server responds with 204, closes #6934 (#6970)
fix(core): unpin all dependencies, closes #6944 (#6966)
fix(bundler): Add new lang_file option in persian variant. (#6972)
fix(core/ipc): access url through webview native object, closes #6889 (#6976)
fix(core): remove trailing slash in http scope url, closes #5208 (#6974)
fix(core): remove trailing slash in http scope url, closes #5208
fix(cli): find correct binary when `--profile` is used, closes #6954 (#6979)
fix(cli): find correct binary when `--profile` is used, closes #6954
closes #6955 (#6987)
closes #6955
closes #6158 (#6969)
closes #6158
fix(cli): improve vs build tools detection (#6982)
fix: updated appimage script to follow symlinks for /usr/lib* (fix: #6992) (#6996)
fix(cli): correctly remove Cargo features (#7013)
Fix typo (#7012)
fix(cli): revert metadata.json field rename from #6795 (#7029)
closes #6732 (#6736)
fix: add missing file properties on Windows, closes #6676 (#6693)
fix(cli.js): detect node-20 binary (#6667)
fix version-or-publish workflow (#7031)
fix(cli/devserver): inject autoreload into HTML only, closes #6997 (#7032)
fix(bundler/nsis): write installer templates UTF16LE encoded, closes #7036 (#7040)
fix(bundler/nsis): write installer templates UTF16LE encoded, closes #7036
fix(core): rewrite `asset` protocol streaming, closes #6375 (#6390)
closes #5939 (#5960)
fix(core): use `safe_block_on` (#7047)
closes #6859 (#6933)
closes #6955 (#6998)
fix(core): populate webview_attrs from config, closes #6794 (#6797)
closes #5176 (#5180)
fix: sound for notifications on windows (fix #6652) (#6680)
close native window's buttons, closes #2353 (#6665)
fix(bundler/nsis): calculate accurate app size, closes #7056 (#7057)
fix(tests): only download update when it is available (#7061)
closes #6706 (#6712)
fix(doc): correct the doc of `content_protected()` (#7065)
closes #6472 (#6530)
fix(macros): use full path to Result to avoid issues with type aliases (#7071)
2023-05-30 03:29:24 +03:00
} ,
"requireLiteralLeadingDot" : {
2023-06-17 17:02:14 +03:00
"description" : "Whether or not paths that contain components that start with a `.` will require that `.` appears literally in the pattern; `*`, `?`, `**`, or `[...]` will not match. This is useful because such files are conventionally considered hidden on Unix systems and it might be desirable to skip them when listing files.\n\nDefaults to `true` on Unix systems and `false` on Windows" ,
Merge remote-tracking branch 'origin/dev' into next (#7067)
Co-authored-by: wusyong <wusyong@users.noreply.github.com>
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: Simon Hyll <hyllsimon@gmail.com>
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: chip <chip@chip.sh>
Co-authored-by: Raphii <iam@raphii.co>
Co-authored-by: Ronie Martinez <ronmarti18@gmail.com>
Co-authored-by: hanaTsuk1 <101488209+hanaTsuk1@users.noreply.github.com>
Co-authored-by: nathan-fall <39990940+nathan-fall@users.noreply.github.com>
Co-authored-by: Akshay <nerdy@peppe.rs>
Co-authored-by: KurikoMoe <kurikomoe@gmail.com>
Co-authored-by: Guilherme Oenning <me@goenning.net>
Co-authored-by: Pierre Cashon <biaocy91@gmail.com>
Co-authored-by: Jack Wills <32690432+mrjackwills@users.noreply.github.com>
Co-authored-by: Amirhossein Akhlaghpour <m9.akhlaghpoor@gmail.com>
Co-authored-by: Risto Stevcev <me@risto.codes>
Co-authored-by: Soumt <rltks1305@naver.com>
Co-authored-by: yutotnh <57719497+yutotnh@users.noreply.github.com>
Co-authored-by: Gökçe Merdun <agmmnn@gmail.com>
Co-authored-by: Nathanael Rea <Nathan@NathanaelRea.com>
Co-authored-by: Usman Rajab <usman.rajab@gmail.com>
Co-authored-by: Francis The Basilisk <36006338+snorkysnark@users.noreply.github.com>
Co-authored-by: Lej77 <31554212+Lej77@users.noreply.github.com>
Co-authored-by: Tomáš Diblík <dibla.tomas@post.cz>
Co-authored-by: Jonas Kruckenberg <iterpre@protonmail.com>
Co-authored-by: Pascal Sommer <Pascal-So@users.noreply.github.com>
Co-authored-by: Bo <bertonzh@gmail.com>
Co-authored-by: Kevin Yue <k3vinyue@gmail.com>
fixed grammar and typos (#6937)
Fix api.js docs pipeline with updated typedoc dependencies (#6945)
closes #6887 (#6922)
fix(core): Fix `WindowBuilder::on_navigation` handler never registerd, closes #6865 (#6921)
fix(core): Fix `WindowBuilder::on_navigation` handler never registerd, closes #6865
fix broken symlinks in license files (#6336)
fix(cli): fix cli connection timeout to dev server (fix #6045) (#6046)
fix(bundler): ensure that there are no duplicate extension arguments when bundling on Windows, fixes #6103 (#6917)
fix(bundler): ensure that there are no duplicate extension arguments during bundling on Windows (fix #6103)
closes #5491 (#6408)
fix(nsis): prefill $INSTDIR with previous install path and respect `/D` flag, closes #6928 (#6935)
fix(nsis): prefill $INSTDIR with previous install path and respect `/D` flag, closes #6928
fix(updater): emit `UPTODATE` when server responds with 204, closes #6934 (#6970)
fix(core): unpin all dependencies, closes #6944 (#6966)
fix(bundler): Add new lang_file option in persian variant. (#6972)
fix(core/ipc): access url through webview native object, closes #6889 (#6976)
fix(core): remove trailing slash in http scope url, closes #5208 (#6974)
fix(core): remove trailing slash in http scope url, closes #5208
fix(cli): find correct binary when `--profile` is used, closes #6954 (#6979)
fix(cli): find correct binary when `--profile` is used, closes #6954
closes #6955 (#6987)
closes #6955
closes #6158 (#6969)
closes #6158
fix(cli): improve vs build tools detection (#6982)
fix: updated appimage script to follow symlinks for /usr/lib* (fix: #6992) (#6996)
fix(cli): correctly remove Cargo features (#7013)
Fix typo (#7012)
fix(cli): revert metadata.json field rename from #6795 (#7029)
closes #6732 (#6736)
fix: add missing file properties on Windows, closes #6676 (#6693)
fix(cli.js): detect node-20 binary (#6667)
fix version-or-publish workflow (#7031)
fix(cli/devserver): inject autoreload into HTML only, closes #6997 (#7032)
fix(bundler/nsis): write installer templates UTF16LE encoded, closes #7036 (#7040)
fix(bundler/nsis): write installer templates UTF16LE encoded, closes #7036
fix(core): rewrite `asset` protocol streaming, closes #6375 (#6390)
closes #5939 (#5960)
fix(core): use `safe_block_on` (#7047)
closes #6859 (#6933)
closes #6955 (#6998)
fix(core): populate webview_attrs from config, closes #6794 (#6797)
closes #5176 (#5180)
fix: sound for notifications on windows (fix #6652) (#6680)
close native window's buttons, closes #2353 (#6665)
fix(bundler/nsis): calculate accurate app size, closes #7056 (#7057)
fix(tests): only download update when it is available (#7061)
closes #6706 (#6712)
fix(doc): correct the doc of `content_protected()` (#7065)
closes #6472 (#6530)
fix(macros): use full path to Result to avoid issues with type aliases (#7071)
2023-05-30 03:29:24 +03:00
"type" : [
"boolean" ,
"null"
]
2023-05-13 13:48:28 +03:00
}
}
2022-10-28 16:44:37 +03:00
}
2022-05-15 15:02:30 +03:00
]
} ,
2022-05-18 15:53:56 +03:00
"SystemTrayConfig" : {
2023-03-17 19:17:34 +03:00
"description" : "Configuration for application system tray icon.\n\nSee more: https://tauri.app/v1/api/config#systemtrayconfig" ,
2021-04-23 21:30:44 +03:00
"type" : "object" ,
2022-05-18 15:53:56 +03:00
"required" : [
"iconPath"
] ,
2021-04-23 21:30:44 +03:00
"properties" : {
2022-05-18 15:53:56 +03:00
"iconPath" : {
2022-08-10 14:45:21 +03:00
"description" : "Path to the default icon to use on the system tray." ,
2022-05-18 15:53:56 +03:00
"type" : "string"
2021-04-23 21:30:44 +03:00
} ,
2022-05-18 15:53:56 +03:00
"iconAsTemplate" : {
"description" : "A Boolean value that determines whether the image represents a [template](https://developer.apple.com/documentation/appkit/nsimage/1520017-template?language=objc) image on macOS." ,
"default" : false ,
"type" : "boolean"
2022-07-05 15:05:01 +03:00
} ,
"menuOnLeftClick" : {
"description" : "A Boolean value that determines whether the menu should appear when the tray icon receives a left click on macOS." ,
"default" : true ,
"type" : "boolean"
2022-09-30 20:08:11 +03:00
} ,
"title" : {
"description" : "Title for MacOS tray" ,
"type" : [
"string" ,
"null"
]
2022-05-18 15:53:56 +03:00
}
} ,
"additionalProperties" : false
} ,
"BuildConfig" : {
2023-03-17 19:17:34 +03:00
"description" : "The Build configuration object.\n\nSee more: https://tauri.app/v1/api/config#buildconfig" ,
2022-05-18 15:53:56 +03:00
"type" : "object" ,
"properties" : {
"runner" : {
"description" : "The binary used to build and run the application." ,
2021-08-16 18:03:00 +03:00
"type" : [
"string" ,
"null"
]
} ,
2022-05-18 15:53:56 +03:00
"devPath" : {
"description" : "The path to the application assets or URL to load in development.\n\nThis is usually an URL to a dev server, which serves your application assets with live reloading. Most modern JavaScript bundlers provides a way to start a dev server by default.\n\nSee [vite](https://vitejs.dev/guide/), [Webpack DevServer](https://webpack.js.org/configuration/dev-server/) and [sirv](https://github.com/lukeed/sirv) for examples on how to set up a dev server." ,
"default" : "http://localhost:8080/" ,
"allOf" : [
{
"$ref" : "#/definitions/AppUrl"
}
]
2021-04-23 21:30:44 +03:00
} ,
2022-05-18 15:53:56 +03:00
"distDir" : {
"description" : "The path to the application assets or URL to load in production.\n\nWhen a path relative to the configuration file is provided, it is read recursively and all files are embedded in the application binary. Tauri then looks for an `index.html` file unless you provide a custom window URL.\n\nYou can also provide a list of paths to be embedded, which allows granular control over what files are added to the binary. In this case, all files are added to the root and you must reference it that way in your HTML files.\n\nWhen an URL is provided, the application won't have bundled assets and the application will load that URL by default." ,
"default" : "../dist" ,
2022-02-05 21:13:07 +03:00
"allOf" : [
{
2022-05-18 15:53:56 +03:00
"$ref" : "#/definitions/AppUrl"
2022-02-05 21:13:07 +03:00
}
]
2021-06-16 03:12:34 +03:00
} ,
2022-05-18 15:53:56 +03:00
"beforeDevCommand" : {
"description" : "A shell command to run before `tauri dev` kicks in.\n\nThe TAURI_PLATFORM, TAURI_ARCH, TAURI_FAMILY, TAURI_PLATFORM_VERSION, TAURI_PLATFORM_TYPE and TAURI_DEBUG environment variables are set if you perform conditional compilation." ,
2022-08-03 00:54:50 +03:00
"anyOf" : [
{
"$ref" : "#/definitions/BeforeDevCommand"
} ,
{
"type" : "null"
}
2021-07-04 05:49:01 +03:00
]
2021-06-21 16:36:13 +03:00
} ,
2022-05-18 15:53:56 +03:00
"beforeBuildCommand" : {
"description" : "A shell command to run before `tauri build` kicks in.\n\nThe TAURI_PLATFORM, TAURI_ARCH, TAURI_FAMILY, TAURI_PLATFORM_VERSION, TAURI_PLATFORM_TYPE and TAURI_DEBUG environment variables are set if you perform conditional compilation." ,
2022-08-03 00:54:50 +03:00
"anyOf" : [
{
2022-08-09 18:54:44 +03:00
"$ref" : "#/definitions/HookCommand"
} ,
{
"type" : "null"
}
]
} ,
"beforeBundleCommand" : {
"description" : "A shell command to run before the bundling phase in `tauri build` kicks in.\n\nThe TAURI_PLATFORM, TAURI_ARCH, TAURI_FAMILY, TAURI_PLATFORM_VERSION, TAURI_PLATFORM_TYPE and TAURI_DEBUG environment variables are set if you perform conditional compilation." ,
"anyOf" : [
{
"$ref" : "#/definitions/HookCommand"
2022-08-03 00:54:50 +03:00
} ,
{
"type" : "null"
}
2022-05-18 15:53:56 +03:00
]
} ,
"features" : {
"description" : "Features passed to `cargo` commands." ,
"type" : [
"array" ,
"null"
] ,
2021-04-23 21:30:44 +03:00
"items" : {
"type" : "string"
}
2021-04-25 00:32:28 +03:00
} ,
2022-05-18 15:53:56 +03:00
"withGlobalTauri" : {
"description" : "Whether we should inject the Tauri API on `window.__TAURI__` or not." ,
2021-04-25 01:01:50 +03:00
"default" : false ,
"type" : "boolean"
2021-03-29 01:58:44 +03:00
}
} ,
"additionalProperties" : false
2022-02-05 21:13:07 +03:00
} ,
2022-05-18 15:53:56 +03:00
"AppUrl" : {
"description" : "Defines the URL or assets to embed in the application." ,
2022-02-05 21:13:07 +03:00
"anyOf" : [
{
2022-05-18 15:53:56 +03:00
"description" : "The app's external URL, or the path to the directory containing the app assets." ,
"allOf" : [
{
"$ref" : "#/definitions/WindowUrl"
}
]
2022-02-05 21:13:07 +03:00
} ,
{
2022-05-18 15:53:56 +03:00
"description" : "An array of files to embed on the app." ,
2022-02-05 21:13:07 +03:00
"type" : "array" ,
"items" : {
"type" : "string"
}
}
]
} ,
2022-08-03 00:54:50 +03:00
"BeforeDevCommand" : {
"description" : "Describes the shell command to run before `tauri dev`." ,
"anyOf" : [
{
"description" : "Run the given script with the default options." ,
"type" : "string"
} ,
{
"description" : "Run the given script with custom options." ,
"type" : "object" ,
"required" : [
"script"
] ,
"properties" : {
"script" : {
"description" : "The script to execute." ,
"type" : "string"
} ,
"cwd" : {
"description" : "The current working directory." ,
"type" : [
"string" ,
"null"
]
} ,
"wait" : {
"description" : "Whether `tauri dev` should wait for the command to finish or not. Defaults to `false`." ,
"default" : false ,
"type" : "boolean"
}
}
}
]
} ,
2022-08-09 18:54:44 +03:00
"HookCommand" : {
"description" : "Describes a shell command to be executed when a CLI hook is triggered." ,
2022-08-03 00:54:50 +03:00
"anyOf" : [
{
"description" : "Run the given script with the default options." ,
"type" : "string"
} ,
{
"description" : "Run the given script with custom options." ,
"type" : "object" ,
"required" : [
"script"
] ,
"properties" : {
"script" : {
"description" : "The script to execute." ,
"type" : "string"
} ,
"cwd" : {
"description" : "The current working directory." ,
"type" : [
"string" ,
"null"
]
}
}
}
]
} ,
2022-05-18 15:53:56 +03:00
"PluginConfig" : {
2023-03-17 19:17:34 +03:00
"description" : "The plugin configs holds a HashMap mapping a plugin name to its configuration object.\n\nSee more: https://tauri.app/v1/api/config#pluginconfig" ,
2022-02-05 21:13:07 +03:00
"type" : "object" ,
2022-05-18 15:53:56 +03:00
"additionalProperties" : true
2021-02-20 17:36:17 +03:00
}
}
2022-06-17 17:26:14 +03:00
}