Skip to content

Tauri 2.0 not runable #1

Description

@lucasjinreal

src/main.rs:20:17
|
20 | app.emit_all("single-instance", Payload { args: argv, cwd })
| ^^^^^^^^
|
help: there is a method emit with a similar name
|
20 - app.emit_all("single-instance", Payload { args: argv, cwd })
20 + app.emit("single-instance", Payload { args: argv, cwd })
|

error[E0599]: no method named system_tray found for struct tauri::Builder in the current scope
--> src/main.rs:23:10
|
16 | / tauri::Builder::default()
17 | | .plugin(tauri_plugin_fs::init())
18 | | .plugin(tauri_plugin_global_shortcut::Builder::new().build())
19 | | .plugin(tauri_plugin_single_instance::init(|app, argv, cwd| {
... |
22 | | }))
23 | | .system_tray(tray)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions