* chore(deps): update tauri monorepo to v2.6.0
* Regenerate api-iife.js
* Bump rust tauri
* Tweak all examples to match the new features
* Bump workspace min tauri version
* Bump `@tauri-apps/api` to ^2.6
* Add change file
* Update lock file
* missing `"`
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Tony <legendmastertony@gmail.com>
* feat(autostart): add prefered name configuration for auto start entry
- Add PreferedName enum to support different naming strategies
- Implement Default trait for PreferedName with PackageInfoName as default
- Add prefered_name builder method with documentation and examples
- Integrate prefered name into auto start configuration
This change allows users to customize the name of their application in the
auto start entry using various naming strategies like package info name,
crate name, config identifier, or custom name.
* refactor(autostart): rename prefered_name to app_name and update related logic
- Change prefered_name to app_name in the Builder struct and methods
- Update PreferedName enum to include new variants and set AppName as default
- Modify documentation to reflect the new app_name usage for auto start entry
This refactor improves clarity in naming conventions and enhances the configuration options for auto start entries.
* refactor(autostart): update app_name handling in README and lib.rs
- Change app_name usage in README to a custom string
- Simplify app_name handling in lib.rs by removing PreferedName enum
- Update Builder struct to accept app_name as an optional string
This refactor enhances the clarity and usability of the auto start configuration.
* feat(autostart): add app_name builder method for custom application naming
- Introduced a new builder method app_name() to customize the application name in the autostart entry.
- Updated app_name handling in the Builder struct to accept a generic string type.
This enhancement allows for greater flexibility in defining application names for autostart configurations.
* Update .changes/autostart-feature.md
Co-authored-by: Tony <68118705+Legend-Master@users.noreply.github.com>
* [skip ci] format
---------
Co-authored-by: Tony <68118705+Legend-Master@users.noreply.github.com>
* single-instance: fix `cwd` in single instance on macOS
which was the `cwd` of the first instance, instead of the second how it should be and is on windows and linux.
also add rustfmt.toml to enforce the correct formatting (4 spaces for indent)
* use split_once
* remove rustfmt
* fix indentation
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
let's delay logs on simulator to prevent deadlocks - looks like the logging system isn't available when the Rust process starts, and it's freezing the app (simulator only)
closes https://github.com/tauri-apps/tauri/issues/12172
* Let logging be skippable so user can handle logger()
* Add changes file
* changes meta info
* Update documentation
* Support emitting to tracing behind feature flag
* typo
* rename key_values => kv
* changes file
* Remove rebase skip-logger
* fix format
* fix(shell): properly validate open scope
* change empty regex to an impossible match
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
Co-authored-by: Chip Reed <chip@chip.sh>