You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(autostart): add app name configuration for auto start entry (#2707)
* 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 <[email protected]>
* [skip ci] format
---------
Co-authored-by: Tony <[email protected]>
0 commit comments