feat: upgrade to tauri 2.0
Steps taken: 1. install tauri via cargo install tauri-cli 2. see errors when running cargo tauri build 3. run cargo tauri migrate as recommended by docs https://tauri.app/start/migrate/from-tauri-1/ 4. manually fix some .ts includes as recommeneded by docs https://tauri.app/start/migrate/from-tauri-1/#migrate-to-core-module 5. successfully build using cargo tauri build
This commit is contained in:
parent
60728f1699
commit
da7fd268b6
8 changed files with 965 additions and 575 deletions
|
|
@ -391,6 +391,7 @@ async fn start() {
|
|||
let state = State::new(init_logging_result).await;
|
||||
|
||||
tauri::Builder::default()
|
||||
.plugin(tauri_plugin_shell::init())
|
||||
.manage(state)
|
||||
.invoke_handler(tauri::generate_handler![
|
||||
torrents_list,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue