Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: configure a default runtime for menu and tray icon types #9630

Merged
merged 5 commits into from
May 1, 2024

Conversation

oscartbeaumont
Copy link
Member

I have noticed in Tauri v2 it's common for the R: Runtime to be set to tauri::Wry. This is great for users who don't know or care what a runtime is.

For example AppHandle, App and more types do this using the default_runtime macro.

I think this same default runtime makes sense on the menu type so this PR implements that.

@oscartbeaumont oscartbeaumont requested a review from a team as a code owner May 1, 2024 09:01
@oscartbeaumont oscartbeaumont changed the title Configure a default runtime for menu types feat: configure a default runtime for menu types May 1, 2024
@FabianLars FabianLars requested a review from amrbashir May 1, 2024 14:13
@amrbashir amrbashir force-pushed the default-generic-for-menu branch from 4ebf179 to e7163dd Compare May 1, 2024 21:35
@amrbashir amrbashir changed the title feat: configure a default runtime for menu types feat: configure a default runtime for menu and tray icon types May 1, 2024
@amrbashir amrbashir merged commit 8a71858 into tauri-apps:dev May 1, 2024
17 of 19 checks passed
@oscartbeaumont oscartbeaumont deleted the default-generic-for-menu branch May 2, 2024 02:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants