-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
[bug] Tauri auto-migration util fails #9400
Comments
The issue should be the store plugin. Try running |
Oh, the app didn't load the full error message, apologies. I think the second error can also be fixed by upgrading the store first (or commenting it out while migrating). I think the migrate command currently can't handle v1 plugins. |
I added all the latest cargo dependencies and ran cargo update:
but I now get internal Tauri errors:
|
remove the window plugin, it's part of the core library again. It's also the plugin mentioned in the error so hopefully that's the (only) issue there. |
@FabianLars I think that worked, thanks! fn main() {
tauri::Builder::default()
.setup(setup_handler)
.plugin(tauri_plugin_store::Builder::default().build())
.invoke_handler(tauri::generate_handler![
...
])
.run(tauri::generate_context!())
.expect("error while running tauri application");
}
fn setup_handler(app: &mut tauri::App) -> Result<(), Box<dyn std::error::Error + 'static>> {
let mut main_window = app.get_window("main").unwrap();
Ok(())
} Error:
|
in preparation of multiwebview support, |
@FabianLars @lucasfernog guys, please consider prioritizing writing some docs for the Rust side. |
Describe the bug
Migration util is not working:
Reproduction
Repo: https://github.com/aleksey-hoffman/sigma-file-manager/tree/v2
Following auto-migration guide:
Expected behavior
To auto migrate project from v1 to v2
Full
tauri info
outputThe text was updated successfully, but these errors were encountered: