Skip to content

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

Merged
amrbashir merged 5 commits intotauri-apps:devfrom
oscartbeaumont:default-generic-for-menu
May 1, 2024
Merged

feat: configure a default runtime for menu and tray icon types#9630
amrbashir merged 5 commits intotauri-apps:devfrom
oscartbeaumont:default-generic-for-menu

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
@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