diff --git a/core/tauri-build/src/lib.rs b/core/tauri-build/src/lib.rs index e75b77e7b..4061d61d7 100644 --- a/core/tauri-build/src/lib.rs +++ b/core/tauri-build/src/lib.rs @@ -294,7 +294,7 @@ impl WindowsAttributes { /// # Example /// /// The following manifest will brand the exe as requesting administrator privileges. - /// Thus, everytime it is executed, a Windows UAC dialog will appear. + /// Thus, every time it is executed, a Windows UAC dialog will appear. /// /// ```rust,no_run /// let mut windows = tauri_build::WindowsAttributes::new(); diff --git a/core/tauri-plugin/src/build/mobile.rs b/core/tauri-plugin/src/build/mobile.rs index f5cac1712..af6535f31 100644 --- a/core/tauri-plugin/src/build/mobile.rs +++ b/core/tauri-plugin/src/build/mobile.rs @@ -183,12 +183,12 @@ fn insert_into_xml(xml: &str, block_identifier: &str, parent_tag: &str, contents } if let Some(index) = line.find(&parent_closing_tag) { - let identation = " ".repeat(index + 4); - rewritten.push(format!("{}{}", identation, block_comment)); + let indentation = " ".repeat(index + 4); + rewritten.push(format!("{}{}", indentation, block_comment)); for l in contents.split('\n') { - rewritten.push(format!("{}{}", identation, l)); + rewritten.push(format!("{}{}", indentation, l)); } - rewritten.push(format!("{}{}", identation, block_comment)); + rewritten.push(format!("{}{}", indentation, block_comment)); } rewritten.push(line.to_string()); diff --git a/core/tauri-runtime/src/lib.rs b/core/tauri-runtime/src/lib.rs index d00954d01..399bfbeec 100644 --- a/core/tauri-runtime/src/lib.rs +++ b/core/tauri-runtime/src/lib.rs @@ -429,7 +429,7 @@ pub trait WebviewDispatch: Debug + Clone + Send + Sync + Sized + ' // SETTER - /// Naviagte to the given URL. + /// Navigate to the given URL. fn navigate(&self, url: Url) -> Result<()>; /// Opens the dialog to prints the contents of the webview. @@ -517,7 +517,7 @@ pub trait WindowDispatch: Debug + Clone + Send + Sync + Sized + 's /// - **Linux / iOS / Android:** Unsupported. fn is_maximizable(&self) -> Result; - /// Gets the window's native minize button state. + /// Gets the window's native minimize button state. /// /// ## Platform-specific /// diff --git a/core/tauri-utils/src/acl/identifier.rs b/core/tauri-utils/src/acl/identifier.rs index 4429783a7..92d210aa8 100644 --- a/core/tauri-utils/src/acl/identifier.rs +++ b/core/tauri-utils/src/acl/identifier.rs @@ -122,7 +122,7 @@ pub enum ParseIdentifierError { /// Identifier is too long. #[error("identifiers cannot be longer than {}, found {0}", MAX_LEN_IDENTIFIER)] - Humungous(usize), + Humongous(usize), /// Identifier is not in a valid format. #[error("identifiers can only include lowercase ASCII, hyphens which are not leading or trailing, and a single colon if using a prefix")] @@ -158,7 +158,7 @@ impl TryFrom for Identifier { let mut bytes = value.bytes(); if bytes.len() > MAX_LEN_IDENTIFIER { - return Err(Self::Error::Humungous(bytes.len())); + return Err(Self::Error::Humongous(bytes.len())); } // grab the first byte only before parsing the rest @@ -168,16 +168,16 @@ impl TryFrom for Identifier { .ok_or(Self::Error::InvalidFormat)?; let mut idx = 0; - let mut seperator = None; + let mut separator = None; for byte in bytes { idx += 1; // we already consumed first item match prev.next(byte) { None => return Err(Self::Error::InvalidFormat), Some(next @ ValidByte::Byte(_)) => prev = next, Some(ValidByte::Separator) => { - if seperator.is_none() { + if separator.is_none() { // safe to unwrap because idx starts at 1 and cannot go over MAX_IDENTIFIER_LEN - seperator = Some(idx.try_into().unwrap()); + separator = Some(idx.try_into().unwrap()); prev = ValidByte::Separator } else { return Err(Self::Error::MultipleSeparators); @@ -198,7 +198,7 @@ impl TryFrom for Identifier { Ok(Self { inner: value, - separator: seperator, + separator, }) } } diff --git a/core/tauri-utils/src/acl/mod.rs b/core/tauri-utils/src/acl/mod.rs index e81c596bb..93db0a4ca 100644 --- a/core/tauri-utils/src/acl/mod.rs +++ b/core/tauri-utils/src/acl/mod.rs @@ -244,7 +244,7 @@ pub enum ExecutionContext { /// A local URL is used (the Tauri app URL). #[default] Local, - /// Remote URL is tring to use the IPC. + /// Remote URL is trying to use the IPC. Remote { /// The URL trying to access the IPC (URL pattern). url: RemoteUrlPattern, diff --git a/core/tauri/src/app.rs b/core/tauri/src/app.rs index 82c7cb350..f99e39561 100644 --- a/core/tauri/src/app.rs +++ b/core/tauri/src/app.rs @@ -196,7 +196,7 @@ pub enum RunEvent { ExitRequested { /// Exit code. /// [`Option::None`] when the exit is requested by user interaction, - /// [`Option::Some`] when requested programatically via [`AppHandle#method.exit`] and [`AppHandle#method.restart`]. + /// [`Option::Some`] when requested programmatically via [`AppHandle#method.exit`] and [`AppHandle#method.restart`]. code: Option, /// Event API api: ExitRequestApi, @@ -542,7 +542,7 @@ macro_rules! shared_app_impl { self.manager.tray.icons.lock().unwrap().first().cloned() } - /// Removes the first tray icon registerd, usually the one configured in + /// Removes the first tray icon registered, usually the one configured in /// tauri config file, from tauri's internal state and returns it. /// /// Note that dropping the returned icon, will cause the tray icon to disappear. diff --git a/core/tauri/src/ipc/authority.rs b/core/tauri/src/ipc/authority.rs index 8a0535b90..662fa48a1 100644 --- a/core/tauri/src/ipc/authority.rs +++ b/core/tauri/src/ipc/authority.rs @@ -526,7 +526,7 @@ impl RuntimeAuthority { } } -/// List of allowed and denied objects that match either the command-specific or plugin global scope criterias. +/// List of allowed and denied objects that match either the command-specific or plugin global scope criteria. #[derive(Debug)] pub struct ScopeValue { allow: Arc>>, diff --git a/core/tauri/src/manager/menu.rs b/core/tauri/src/manager/menu.rs index 75613cb83..aafd42a97 100644 --- a/core/tauri/src/manager/menu.rs +++ b/core/tauri/src/manager/menu.rs @@ -16,7 +16,7 @@ pub struct MenuManager { /// A set containing a reference to the active menus, including /// the app-wide menu and the window-specific menus /// - /// This should be mainly used to acceess [`Menu::haccel`] + /// This should be mainly used to access [`Menu::haccel`] /// to setup the accelerator handling in the event loop pub menus: Arc>>>, /// The menu set to all windows. diff --git a/core/tauri/src/menu/builders/mod.rs b/core/tauri/src/menu/builders/mod.rs index bc6e7f147..ce898c74a 100644 --- a/core/tauri/src/menu/builders/mod.rs +++ b/core/tauri/src/menu/builders/mod.rs @@ -4,7 +4,7 @@ #![cfg(desktop)] -//! A module containting menu builder types +//! A module containing menu builder types mod menu; pub use menu::MenuBuilder; diff --git a/core/tauri/src/menu/menu.rs b/core/tauri/src/menu/menu.rs index dde1083cd..172e80831 100644 --- a/core/tauri/src/menu/menu.rs +++ b/core/tauri/src/menu/menu.rs @@ -253,7 +253,7 @@ impl Menu { /// Add a menu item to the end of this menu. /// - /// ## Platform-spcific: + /// ## Platform-specific: /// /// - **macOS:** Only [`Submenu`] can be added to the menu. /// @@ -268,7 +268,7 @@ impl Menu { /// Add menu items to the end of this menu. It calls [`Menu::append`] in a loop internally. /// - /// ## Platform-spcific: + /// ## Platform-specific: /// /// - **macOS:** Only [`Submenu`] can be added to the menu /// @@ -283,7 +283,7 @@ impl Menu { /// Add a menu item to the beginning of this menu. /// - /// ## Platform-spcific: + /// ## Platform-specific: /// /// - **macOS:** Only [`Submenu`] can be added to the menu /// @@ -298,7 +298,7 @@ impl Menu { /// Add menu items to the beginning of this menu. It calls [`Menu::insert_items`] with position of `0` internally. /// - /// ## Platform-spcific: + /// ## Platform-specific: /// /// - **macOS:** Only [`Submenu`] can be added to the menu /// @@ -307,9 +307,9 @@ impl Menu { self.insert_items(items, 0) } - /// Insert a menu item at the specified `postion` in the menu. + /// Insert a menu item at the specified `position` in the menu. /// - /// ## Platform-spcific: + /// ## Platform-specific: /// /// - **macOS:** Only [`Submenu`] can be added to the menu /// @@ -322,9 +322,9 @@ impl Menu { .map_err(Into::into) } - /// Insert menu items at the specified `postion` in the menu. + /// Insert menu items at the specified `position` in the menu. /// - /// ## Platform-spcific: + /// ## Platform-specific: /// /// - **macOS:** Only [`Submenu`] can be added to the menu /// diff --git a/core/tauri/src/menu/mod.rs b/core/tauri/src/menu/mod.rs index 1109f055a..31eefed57 100644 --- a/core/tauri/src/menu/mod.rs +++ b/core/tauri/src/menu/mod.rs @@ -153,7 +153,7 @@ gen_wrappers!( MenuItem(MenuItemInner, MenuItem), /// A type that is a submenu inside a [`Menu`] or [`Submenu`] Submenu(SubmenuInner, Submenu), - /// A predefined (native) menu item which has a predfined behavior by the OS or by this crate. + /// A predefined (native) menu item which has a predefined behavior by the OS or by this crate. PredefinedMenuItem(PredefinedMenuItemInner, Predefined), /// A menu item inside a [`Menu`] or [`Submenu`] /// and usually contains a text and a check mark or a similar toggle @@ -228,7 +228,7 @@ pub struct AboutMetadata<'a> { pub struct AboutMetadataBuilder<'a>(AboutMetadata<'a>); impl<'a> AboutMetadataBuilder<'a> { - /// Create a new about metdata builder. + /// Create a new about metadata builder. pub fn new() -> Self { Default::default() } diff --git a/core/tauri/src/menu/submenu.rs b/core/tauri/src/menu/submenu.rs index a9f7a75f2..b5aef2b56 100644 --- a/core/tauri/src/menu/submenu.rs +++ b/core/tauri/src/menu/submenu.rs @@ -191,7 +191,7 @@ impl Submenu { self.insert_items(items, 0) } - /// Insert a menu item at the specified `postion` in this submenu. + /// Insert a menu item at the specified `position` in this submenu. pub fn insert(&self, item: &dyn IsMenuItem, position: usize) -> crate::Result<()> { let kind = item.kind(); run_item_main_thread!(self, |self_: Self| { @@ -202,7 +202,7 @@ impl Submenu { .map_err(Into::into) } - /// Insert menu items at the specified `postion` in this submenu. + /// Insert menu items at the specified `position` in this submenu. pub fn insert_items(&self, items: &[&dyn IsMenuItem], position: usize) -> crate::Result<()> { for (i, item) in items.iter().enumerate() { self.insert(*item, position + i)? @@ -260,7 +260,7 @@ impl Submenu { /// Set the text for this submenu. `text` could optionally contain /// an `&` before a character to assign this character as the mnemonic - /// for this submenu. To display a `&` without assigning a mnemenonic, use `&&`. + /// for this submenu. To display a `&` without assigning a mnemonic, use `&&`. pub fn set_text>(&self, text: S) -> crate::Result<()> { let text = text.as_ref().to_string(); run_item_main_thread!(self, |self_: Self| (*self_.0).as_ref().set_text(text)) diff --git a/core/tauri/src/plugin.rs b/core/tauri/src/plugin.rs index ebe584c2e..a57178d2a 100644 --- a/core/tauri/src/plugin.rs +++ b/core/tauri/src/plugin.rs @@ -518,7 +518,7 @@ impl Builder { /// /// # Known limitations /// - /// URI scheme protocols are registered when the webview is created. Due to this limitation, if the plugin is registed after a webview has been created, this protocol won't be available. + /// URI scheme protocols are registered when the webview is created. Due to this limitation, if the plugin is registered after a webview has been created, this protocol won't be available. /// /// # Arguments /// diff --git a/core/tauri/src/tray/mod.rs b/core/tauri/src/tray/mod.rs index 8bb9f8210..5e84aa22c 100644 --- a/core/tauri/src/tray/mod.rs +++ b/core/tauri/src/tray/mod.rs @@ -51,7 +51,7 @@ impl Default for ClickType { /// /// ## Platform-specific: /// -/// - **Linux**: Unsupported. The event is not emmited even though the icon is shown, +/// - **Linux**: Unsupported. The event is not emitted even though the icon is shown, /// the icon will still show a context menu on right click. #[derive(Debug, Clone, Default, Serialize)] #[serde(rename_all = "camelCase")] diff --git a/core/tauri/src/webview/webview_window.rs b/core/tauri/src/webview/webview_window.rs index d26aad381..0b78c5215 100644 --- a/core/tauri/src/webview/webview_window.rs +++ b/core/tauri/src/webview/webview_window.rs @@ -1243,7 +1243,7 @@ impl WebviewWindow { self.webview.window().set_maximizable(maximizable) } - /// Determines if this window's native minize button should be enabled. + /// Determines if this window's native minimize button should be enabled. /// /// ## Platform-specific /// diff --git a/core/tauri/src/window/mod.rs b/core/tauri/src/window/mod.rs index 968b6a28d..cf5bd449c 100644 --- a/core/tauri/src/window/mod.rs +++ b/core/tauri/src/window/mod.rs @@ -1574,7 +1574,7 @@ impl Window { .map_err(Into::into) } - /// Determines if this window's native minize button should be enabled. + /// Determines if this window's native minimize button should be enabled. /// /// ## Platform-specific /// diff --git a/examples/api/vite.config.js b/examples/api/vite.config.js index 14b4c4130..d5d5459c8 100644 --- a/examples/api/vite.config.js +++ b/examples/api/vite.config.js @@ -22,7 +22,7 @@ export default defineConfig({ } }, - // Vite optons tailored for Tauri development and only applied in `tauri dev` or `tauri build` + // Vite options tailored for Tauri development and only applied in `tauri dev` or `tauri build` // prevent vite from obscuring rust errors clearScreen: false, // tauri expects a fixed port, fail if that port is not available diff --git a/tooling/api/src/menu/predefinedMenuItem.ts b/tooling/api/src/menu/predefinedMenuItem.ts index f01f04216..fed9a543f 100644 --- a/tooling/api/src/menu/predefinedMenuItem.ts +++ b/tooling/api/src/menu/predefinedMenuItem.ts @@ -107,7 +107,7 @@ export interface PredefinedMenuItemOptions { } } -/** A predefined (native) menu item which has a predfined behavior by the OS or by tauri. */ +/** A predefined (native) menu item which has a predefined behavior by the OS or by tauri. */ export class PredefinedMenuItem extends MenuItemBase { /** @ignore */ protected constructor(rid: number, id: string) { diff --git a/tooling/api/src/tray.ts b/tooling/api/src/tray.ts index f958e80cf..ddbae4189 100644 --- a/tooling/api/src/tray.ts +++ b/tooling/api/src/tray.ts @@ -11,7 +11,7 @@ import { Image, transformImage } from './image' * * #### Platform-specific: * - * - **Linux**: Unsupported. The event is not emmited even though the icon is shown, + * - **Linux**: Unsupported. The event is not emitted even though the icon is shown, * the icon will still show a context menu on right click. */ export interface TrayIconEvent { @@ -45,7 +45,7 @@ export interface TrayIconEvent { /** {@link TrayIcon.new|`TrayIcon`} creation options */ export interface TrayIconOptions { - /** The tray icon id. If undefined, a random one will be assigend */ + /** The tray icon id. If undefined, a random one will be assigned */ id?: string /** The tray icon menu */ menu?: Menu | Submenu diff --git a/tooling/api/src/webviewWindow.ts b/tooling/api/src/webviewWindow.ts index 02a65ba8a..947c881be 100644 --- a/tooling/api/src/webviewWindow.ts +++ b/tooling/api/src/webviewWindow.ts @@ -168,7 +168,7 @@ class WebviewWindow { } /** - * Listen to an emitted event on this webivew window only once. + * Listen to an emitted event on this webview window only once. * * @example * ```typescript @@ -203,7 +203,7 @@ class WebviewWindow { // Order matters, we use window APIs by default applyMixins(WebviewWindow, [Window, Webview]) -/** Extends a base class by other specifed classes, wihtout overriding existing properties */ +/** Extends a base class by other specified classes, without overriding existing properties */ function applyMixins( baseClass: { prototype: unknown }, extendedClasses: unknown diff --git a/tooling/bundler/src/bundle.rs b/tooling/bundler/src/bundle.rs index ffd26c675..681b50aaf 100644 --- a/tooling/bundler/src/bundle.rs +++ b/tooling/bundler/src/bundle.rs @@ -98,7 +98,7 @@ pub fn bundle_project(settings: Settings) -> crate::Result> { PackageType::MacOsBundle => macos::app::bundle_project(&settings)?, #[cfg(target_os = "macos")] PackageType::IosBundle => macos::ios::bundle_project(&settings)?, - // dmg is dependant of MacOsBundle, we send our bundles to prevent rebuilding + // dmg is dependent of MacOsBundle, we send our bundles to prevent rebuilding #[cfg(target_os = "macos")] PackageType::Dmg => { let bundled = macos::dmg::bundle_project(&settings, &bundles)?; @@ -122,7 +122,7 @@ pub fn bundle_project(settings: Settings) -> crate::Result> { #[cfg(target_os = "linux")] PackageType::AppImage => linux::appimage::bundle_project(&settings)?, - // updater is dependant of multiple bundle, we send our bundles to prevent rebuilding + // updater is dependent of multiple bundle, we send our bundles to prevent rebuilding PackageType::Updater => { if !package_types.iter().any(|p| { matches!( diff --git a/tooling/bundler/src/bundle/windows/templates/FileAssociation.nsh b/tooling/bundler/src/bundle/windows/templates/FileAssociation.nsh index 6179727fb..042153599 100644 --- a/tooling/bundler/src/bundle/windows/templates/FileAssociation.nsh +++ b/tooling/bundler/src/bundle/windows/templates/FileAssociation.nsh @@ -16,7 +16,7 @@ ; !insertmacro APP_ASSOCIATE "txt" "myapp.textfile" "Description of txt files" \ ; "$INSTDIR\myapp.exe,0" "Open with myapp" "$INSTDIR\myapp.exe $\"%1$\"" ; -; Never insert the APP_ASSOCIATE macro multiple times, it is only ment +; Never insert the APP_ASSOCIATE macro multiple times, it is only meant ; to associate an application with a single file and using the ; the "open" verb as default. To add more verbs (actions) to a file ; use the APP_ASSOCIATE_ADDVERB macro. diff --git a/tooling/bundler/src/bundle/windows/templates/installer.nsi b/tooling/bundler/src/bundle/windows/templates/installer.nsi index 732ad4bc9..ea8932ebe 100644 --- a/tooling/bundler/src/bundle/windows/templates/installer.nsi +++ b/tooling/bundler/src/bundle/windows/templates/installer.nsi @@ -130,18 +130,18 @@ VIAddVersionKey "ProductVersion" "${VERSION}" ; 4. Custom page to ask user if he wants to reinstall/uninstall -; only if a previous installtion was detected +; only if a previous installation was detected Var ReinstallPageCheck Page custom PageReinstall PageLeaveReinstall Function PageReinstall ; Uninstall previous WiX installation if exists. ; - ; A WiX installer stores the isntallation info in registry + ; A WiX installer stores the installation info in registry ; using a UUID and so we have to loop through all keys under ; `HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall` ; and check if `DisplayName` and `Publisher` keys match ${PRODUCTNAME} and ${MANUFACTURER} ; - ; This has a potentional issue that there maybe another installation that matches + ; This has a potential issue that there maybe another installation that matches ; our ${PRODUCTNAME} and ${MANUFACTURER} but wasn't installed by our WiX installer, ; however, this should be fine since the user will have to confirm the uninstallation ; and they can chose to abort it if doesn't make sense. @@ -257,7 +257,7 @@ Function PageLeaveReinstall ; $R5 == "1" -> different versions ; $R5 == "2" -> same version ; - ; $R1 holds the radio buttons state. its meaning is dependant on the context + ; $R1 holds the radio buttons state. its meaning is dependent on the context StrCmp $R5 "1" 0 +2 ; Existing install is not the same version? StrCmp $R1 "1" reinst_uninstall reinst_done ; $R1 == "1", then user chose to uninstall existing version, otherwise skip uninstalling StrCmp $R1 "1" reinst_done ; Same version? skip uninstalling @@ -297,7 +297,7 @@ Function PageLeaveReinstall reinst_done: FunctionEnd -; 5. Choose install directoy page +; 5. Choose install directory page !define MUI_PAGE_CUSTOMFUNCTION_PRE SkipIfPassive !insertmacro MUI_PAGE_DIRECTORY diff --git a/tooling/bundler/src/bundle/windows/util.rs b/tooling/bundler/src/bundle/windows/util.rs index 02922dbd5..099819a64 100644 --- a/tooling/bundler/src/bundle/windows/util.rs +++ b/tooling/bundler/src/bundle/windows/util.rs @@ -131,7 +131,7 @@ pub fn verify_file_hash>( verify_hash(&data, hash, hash_algorithm) } -/// Extracts the zips from memory into a useable path. +/// Extracts the zips from memory into a usable path. pub fn extract_zip(data: &[u8], path: &Path) -> crate::Result<()> { let cursor = Cursor::new(data); diff --git a/tooling/cli/src/mobile/android/mod.rs b/tooling/cli/src/mobile/android/mod.rs index d8e77eaf4..2764e83c4 100644 --- a/tooling/cli/src/mobile/android/mod.rs +++ b/tooling/cli/src/mobile/android/mod.rs @@ -275,7 +275,7 @@ fn device_prompt<'a>(env: &'_ Env, target: Option<&str>) -> Result> { return Ok(device); } if tries >= 3 { - log::info!("Waiting for emulator to start... (maybe the emulator is unathorized or offline, run `adb devices` to check)"); + log::info!("Waiting for emulator to start... (maybe the emulator is unauthorized or offline, run `adb devices` to check)"); } else { log::info!("Waiting for emulator to start..."); } diff --git a/tooling/cli/src/plugin/android.rs b/tooling/cli/src/plugin/android.rs index e4f28a85c..23c9fded6 100644 --- a/tooling/cli/src/plugin/android.rs +++ b/tooling/cli/src/plugin/android.rs @@ -38,7 +38,7 @@ enum Commands { #[clap(about = "Initializes the Android project for an existing Tauri plugin")] pub struct InitOptions { /// Name of your Tauri plugin. Must match the current plugin's name. - /// If not specified, it will be infered from the current directory. + /// If not specified, it will be inferred from the current directory. plugin_name: Option, /// The output directory. #[clap(short, long)] diff --git a/tooling/cli/src/plugin/init.rs b/tooling/cli/src/plugin/init.rs index 1db4e6fbf..867ede436 100644 --- a/tooling/cli/src/plugin/init.rs +++ b/tooling/cli/src/plugin/init.rs @@ -26,7 +26,7 @@ pub const TEMPLATE_DIR: Dir<'_> = include_dir!("templates/plugin"); #[clap(about = "Initialize a Tauri plugin project on an existing directory")] pub struct Options { /// Name of your Tauri plugin. - /// If not specified, it will be infered from the current directory. + /// If not specified, it will be inferred from the current directory. pub(crate) plugin_name: Option, /// Initializes a Tauri plugin without the TypeScript API #[clap(long)] diff --git a/tooling/cli/src/plugin/ios.rs b/tooling/cli/src/plugin/ios.rs index 2f335eeb8..6ecf95255 100644 --- a/tooling/cli/src/plugin/ios.rs +++ b/tooling/cli/src/plugin/ios.rs @@ -36,7 +36,7 @@ enum Commands { #[clap(about = "Initializes the iOS project for an existing Tauri plugin")] pub struct InitOptions { /// Name of your Tauri plugin. Must match the current plugin's name. - /// If not specified, it will be infered from the current directory. + /// If not specified, it will be inferred from the current directory. plugin_name: Option, /// The output directory. #[clap(short, long)] diff --git a/tooling/cli/templates/plugin/__example-api/tauri-app/vite.config.js b/tooling/cli/templates/plugin/__example-api/tauri-app/vite.config.js index 4e1a2603d..5651fcb1f 100644 --- a/tooling/cli/templates/plugin/__example-api/tauri-app/vite.config.js +++ b/tooling/cli/templates/plugin/__example-api/tauri-app/vite.config.js @@ -8,7 +8,7 @@ const mobile = !!/android|ios/.exec(process.env.TAURI_ENV_PLATFORM); export default defineConfig({ plugins: [svelte()], - // Vite optons tailored for Tauri development and only applied in `tauri dev` or `tauri build` + // Vite options tailored for Tauri development and only applied in `tauri dev` or `tauri build` // prevent vite from obscuring rust errors clearScreen: false, // tauri expects a fixed port, fail if that port is not available