I migrate from tauri v1 to v2 and I use @tauri-apps/plugin-app and I got the following error:
import * as pluginApp from "@tauri-apps/plugin-app";
const appVersion = await pluginApp.getVersion();
error:
indow.__TAURI_INVOKE__ is not a function
I think that this package should updated and added to upgrade-migrate/from-tauri-1
where can I find the source code of this plugin?
By the way it took me few hours just to start with the migrations (permissions, versions, plugins, config, deprecated plugins,breaking changes...) 🙂