|
@@ -307,7 +307,7 @@ impl BundleTarget {
|
|
|
|
|
|
/// Configuration for AppImage bundles.
|
|
|
///
|
|
|
-/// See more: <https://tauri.app/v1/api/config#appimageconfig>
|
|
|
+/// See more: <https://v2.tauri.app/reference/config/#appimageconfig>
|
|
|
#[derive(Debug, Default, PartialEq, Eq, Clone, Deserialize, Serialize)]
|
|
|
#[cfg_attr(feature = "schema", derive(JsonSchema))]
|
|
|
#[serde(rename_all = "camelCase", deny_unknown_fields)]
|
|
@@ -323,7 +323,7 @@ pub struct AppImageConfig {
|
|
|
|
|
|
/// Configuration for Debian (.deb) bundles.
|
|
|
///
|
|
|
-/// See more: <https://tauri.app/v1/api/config#debconfig>
|
|
|
+/// See more: <https://v2.tauri.app/reference/config/#debconfig>
|
|
|
#[skip_serializing_none]
|
|
|
#[derive(Debug, Default, PartialEq, Eq, Clone, Deserialize, Serialize)]
|
|
|
#[cfg_attr(feature = "schema", derive(JsonSchema))]
|
|
@@ -373,7 +373,7 @@ pub struct DebConfig {
|
|
|
|
|
|
/// Configuration for Linux bundles.
|
|
|
///
|
|
|
-/// See more: <https://tauri.app/v1/api/config#linuxconfig>
|
|
|
+/// See more: <https://v2.tauri.app/reference/config/#linuxconfig>
|
|
|
#[skip_serializing_none]
|
|
|
#[derive(Debug, Default, PartialEq, Eq, Clone, Deserialize, Serialize)]
|
|
|
#[cfg_attr(feature = "schema", derive(JsonSchema))]
|
|
@@ -485,7 +485,7 @@ pub struct Size {
|
|
|
|
|
|
/// Configuration for Apple Disk Image (.dmg) bundles.
|
|
|
///
|
|
|
-/// See more: <https://tauri.app/v1/api/config#dmgconfig>
|
|
|
+/// See more: <https://v2.tauri.app/reference/config/#dmgconfig>
|
|
|
#[skip_serializing_none]
|
|
|
#[derive(Debug, PartialEq, Eq, Clone, Deserialize, Serialize)]
|
|
|
#[cfg_attr(feature = "schema", derive(JsonSchema))]
|
|
@@ -549,7 +549,7 @@ where
|
|
|
|
|
|
/// Configuration for the macOS bundles.
|
|
|
///
|
|
|
-/// See more: <https://tauri.app/v1/api/config#macconfig>
|
|
|
+/// See more: <https://v2.tauri.app/reference/config/#macconfig>
|
|
|
#[skip_serializing_none]
|
|
|
#[derive(Debug, PartialEq, Eq, Clone, Deserialize, Serialize)]
|
|
|
#[cfg_attr(feature = "schema", derive(JsonSchema))]
|
|
@@ -622,7 +622,7 @@ fn ios_minimum_system_version() -> String {
|
|
|
|
|
|
/// Configuration for a target language for the WiX build.
|
|
|
///
|
|
|
-/// See more: <https://tauri.app/v1/api/config#wixlanguageconfig>
|
|
|
+/// See more: <https://v2.tauri.app/reference/config/#wixlanguageconfig>
|
|
|
#[derive(Debug, PartialEq, Eq, Clone, Deserialize, Serialize)]
|
|
|
#[cfg_attr(feature = "schema", derive(JsonSchema))]
|
|
|
#[serde(rename_all = "camelCase", deny_unknown_fields)]
|
|
@@ -653,7 +653,7 @@ impl Default for WixLanguage {
|
|
|
|
|
|
/// Configuration for the MSI bundle using WiX.
|
|
|
///
|
|
|
-/// See more: <https://tauri.app/v1/api/config#wixconfig>
|
|
|
+/// See more: <https://v2.tauri.app/reference/config/#wixconfig>
|
|
|
#[derive(Debug, Default, PartialEq, Eq, Clone, Deserialize, Serialize)]
|
|
|
#[cfg_attr(feature = "schema", derive(JsonSchema))]
|
|
|
#[serde(rename_all = "camelCase", deny_unknown_fields)]
|
|
@@ -858,7 +858,7 @@ pub struct NsisConfig {
|
|
|
/// Install modes for the Webview2 runtime.
|
|
|
/// Note that for the updater bundle [`Self::DownloadBootstrapper`] is used.
|
|
|
///
|
|
|
-/// For more information see <https://tauri.app/v1/guides/building/windows>.
|
|
|
+/// For more information see <https://v2.tauri.app/distribute/windows-installer/#webview2-installation-options>.
|
|
|
#[derive(Debug, PartialEq, Eq, Clone, Serialize, Deserialize)]
|
|
|
#[serde(tag = "type", rename_all = "camelCase", deny_unknown_fields)]
|
|
|
#[cfg_attr(feature = "schema", derive(JsonSchema))]
|
|
@@ -936,7 +936,7 @@ pub enum CustomSignCommandConfig {
|
|
|
|
|
|
/// Windows bundler configuration.
|
|
|
///
|
|
|
-/// See more: <https://tauri.app/v1/api/config#windowsconfig>
|
|
|
+/// See more: <https://v2.tauri.app/reference/config/#windowsconfig>
|
|
|
#[derive(Debug, PartialEq, Eq, Clone, Deserialize, Serialize)]
|
|
|
#[cfg_attr(feature = "schema", derive(JsonSchema))]
|
|
|
#[serde(rename_all = "camelCase", deny_unknown_fields)]
|
|
@@ -1136,7 +1136,7 @@ pub enum V1Compatible {
|
|
|
|
|
|
/// Configuration for tauri-bundler.
|
|
|
///
|
|
|
-/// See more: <https://tauri.app/v1/api/config#bundleconfig>
|
|
|
+/// See more: <https://v2.tauri.app/reference/config/#bundleconfig>
|
|
|
#[skip_serializing_none]
|
|
|
#[derive(Debug, Default, PartialEq, Eq, Clone, Deserialize, Serialize)]
|
|
|
#[cfg_attr(feature = "schema", derive(JsonSchema))]
|
|
@@ -1260,7 +1260,7 @@ pub struct WindowEffectsConfig {
|
|
|
|
|
|
/// The window configuration object.
|
|
|
///
|
|
|
-/// See more: <https://tauri.app/v1/api/config#windowconfig>
|
|
|
+/// See more: <https://v2.tauri.app/reference/config/#windowconfig>
|
|
|
#[skip_serializing_none]
|
|
|
#[derive(Debug, PartialEq, Clone, Deserialize, Serialize)]
|
|
|
#[cfg_attr(feature = "schema", derive(JsonSchema))]
|
|
@@ -1746,7 +1746,7 @@ impl FsScope {
|
|
|
|
|
|
/// Config for the asset custom protocol.
|
|
|
///
|
|
|
-/// See more: <https://tauri.app/v1/api/config#assetprotocolconfig>
|
|
|
+/// See more: <https://v2.tauri.app/reference/config/#assetprotocolconfig>
|
|
|
#[derive(Debug, Default, PartialEq, Eq, Clone, Deserialize, Serialize)]
|
|
|
#[cfg_attr(feature = "schema", derive(JsonSchema))]
|
|
|
#[serde(rename_all = "camelCase", deny_unknown_fields)]
|
|
@@ -1761,7 +1761,7 @@ pub struct AssetProtocolConfig {
|
|
|
|
|
|
/// Security configuration.
|
|
|
///
|
|
|
-/// See more: <https://tauri.app/v1/api/config#securityconfig>
|
|
|
+/// See more: <https://v2.tauri.app/reference/config/#securityconfig>
|
|
|
#[skip_serializing_none]
|
|
|
#[derive(Debug, Default, PartialEq, Clone, Deserialize, Serialize)]
|
|
|
#[cfg_attr(feature = "schema", derive(JsonSchema))]
|
|
@@ -1855,7 +1855,7 @@ impl Default for PatternKind {
|
|
|
|
|
|
/// The App configuration object.
|
|
|
///
|
|
|
-/// See more: <https://tauri.app/v1/api/config#appconfig>
|
|
|
+/// See more: <https://v2.tauri.app/reference/config/#appconfig>
|
|
|
#[skip_serializing_none]
|
|
|
#[derive(Debug, Default, PartialEq, Clone, Deserialize, Serialize)]
|
|
|
#[cfg_attr(feature = "schema", derive(JsonSchema))]
|
|
@@ -1916,7 +1916,7 @@ impl AppConfig {
|
|
|
|
|
|
/// Configuration for application tray icon.
|
|
|
///
|
|
|
-/// See more: <https://tauri.app/v1/api/config#trayiconconfig>
|
|
|
+/// See more: <https://v2.tauri.app/reference/config/#trayiconconfig>
|
|
|
#[skip_serializing_none]
|
|
|
#[derive(Debug, Default, PartialEq, Eq, Clone, Deserialize, Serialize)]
|
|
|
#[cfg_attr(feature = "schema", derive(JsonSchema))]
|
|
@@ -2077,7 +2077,7 @@ pub enum HookCommand {
|
|
|
|
|
|
/// The Build configuration object.
|
|
|
///
|
|
|
-/// See more: <https://tauri.app/v1/api/config#buildconfig>
|
|
|
+/// See more: <https://v2.tauri.app/reference/config/#buildconfig>
|
|
|
#[skip_serializing_none]
|
|
|
#[derive(Debug, PartialEq, Eq, Clone, Deserialize, Serialize, Default)]
|
|
|
#[cfg_attr(feature = "schema", derive(JsonSchema))]
|
|
@@ -2196,7 +2196,7 @@ where
|
|
|
/// configure the bundler and define a tray icon.
|
|
|
///
|
|
|
/// The configuration file is generated by the
|
|
|
-/// [`tauri init`](https://tauri.app/v1/api/cli#init) command that lives in
|
|
|
+/// [`tauri init`](https://v2.tauri.app/reference/cli/#init) command that lives in
|
|
|
/// your Tauri application source directory (src-tauri).
|
|
|
///
|
|
|
/// Once generated, you may modify it at will to customize your Tauri application.
|
|
@@ -2298,7 +2298,7 @@ pub struct Config {
|
|
|
|
|
|
/// The plugin configs holds a HashMap mapping a plugin name to its configuration object.
|
|
|
///
|
|
|
-/// See more: <https://tauri.app/v1/api/config#pluginconfig>
|
|
|
+/// See more: <https://v2.tauri.app/reference/config/#pluginconfig>
|
|
|
#[derive(Debug, Clone, Default, PartialEq, Eq, Deserialize, Serialize)]
|
|
|
#[cfg_attr(feature = "schema", derive(JsonSchema))]
|
|
|
pub struct PluginConfig(pub HashMap<String, JsonValue>);
|