after installing the single instance plugin it seems like my tauri updated itself from about 2.2.5 to 2.9.3 and now when i compile i get this error:
error[E0308]: mismatched types
--> C:\Users\cyan\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\tauri-plugin-2.0.4\src\build\mod.rs:140:58
|
140 | tauri_utils::plugin::define_global_api_script_path(path);
| -------------------------------------------------- ^^^^ expected `&Path`, found `PathBuf`
| |
| arguments to this function are incorrect
|
note: function defined here
--> C:\Users\cyan\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\tauri-utils-2.8.0\src\plugin.rs:22:10
|
22 | pub fn define_global_api_script_path(path: &Path) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
help: consider borrowing here
|
140 | tauri_utils::plugin::define_global_api_script_path(&path);
| +
since i don't think i should be modifying this file, how would i fix this?