Run the following inside examples/file-associations/src-tauri
error[E0599]: no method named asset_protocol_scope found for struct AppHandle in the current scope
--> examples/file-associations/src-tauri/src/main.rs:23:34
|
23 | let asset_protocol_scope = app.asset_protocol_scope();
| ^^^^^^^^^^^^^^^^^^^^ method not found in AppHandle
For more information about this error, try rustc --explain E0599.
warning: tauri-file-associations-demo (bin "tauri-file-associations-demo") generated 1 warning
error: could not compile tauri-file-associations-demo (bin "tauri-file-associations-demo") due to 1 previous error; 1 warning emitted
Describe the bug
Run the following inside
examples/file-associations/src-tauri
error[E0599]: no method named
asset_protocol_scope
found for structAppHandle
in the current scope --> examples/file-associations/src-tauri/src/main.rs:23:34 | 23 | let asset_protocol_scope = app.asset_protocol_scope(); | ^^^^^^^^^^^^^^^^^^^^ method not found inAppHandle
For more information about this error, try
rustc --explain E0599
. warning:tauri-file-associations-demo
(bin "tauri-file-associations-demo") generated 1 warning error: could not compiletauri-file-associations-demo
(bin "tauri-file-associations-demo") due to 1 previous error; 1 warning emittedReproduction
https://github.com/tauri-apps/tauri/tree/dev/examples/file-associations
Run the following inside
examples/file-associations/src-tauri
cd tauri/examples/file-associations/src-tauri
cargo build
Expected behavior
Build suceeds
Full
tauri info
outputStack trace
No response
Additional context
No response