Explorar o código

fix(core): before_bundle_command kebab-case alias

Lucas Nogueira %!s(int64=3) %!d(string=hai) anos
pai
achega
fd992c547e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      core/tauri-utils/src/config.rs

+ 1 - 1
core/tauri-utils/src/config.rs

@@ -2455,7 +2455,7 @@ pub struct BuildConfig {
   /// A shell command to run before the bundling phase in `tauri build` kicks in.
   ///
   /// The TAURI_PLATFORM, TAURI_ARCH, TAURI_FAMILY, TAURI_PLATFORM_VERSION, TAURI_PLATFORM_TYPE and TAURI_DEBUG environment variables are set if you perform conditional compilation.
-  #[serde(alias = "before-build-command")]
+  #[serde(alias = "before-bundle-command")]
   pub before_bundle_command: Option<HookCommand>,
   /// Features passed to `cargo` commands.
   pub features: Option<Vec<String>>,