[request] fix broken code samples in migration guide #2843
Labels
discuss
Does this require further discussion before it's dealt with?
enhancement
Does it add or improve content?
Question you want answered
Fix example code
Where did you look for an answer?
Global shortcut plugin
Reading the migration guide for the global search plugin and checking the rust code snippet. https://v2.tauri.app/start/migrate/from-tauri-1/#migrate-to-global-shortcut-plugin
It includes this snippet:
Sadly it does not work:
Menu
Similar thing for the menu examples: https://v2.tauri.app/start/migrate/from-tauri-1/#use-taurimenusubmenubuilder
This code
also does not work at all:
This are the first two snippets that i tried. Maybe there are more errors.
Page URL
https://v2.tauri.app/start/migrate/from-tauri-1/
Additional context
It would be nice if the code snippets of the official migration docs work. Right now it causes a lot of work to upgrade because many things are not documented at all (what permissions does plugin X have, what is the new "gen" folder, etc etc)
Are you willing to work on this yourself?
The text was updated successfully, but these errors were encountered: