Skip to content

Commit

Permalink
allow tauri to run on a side thread
Browse files Browse the repository at this point in the history
  • Loading branch information
nanu-c committed Aug 20, 2023
1 parent 0020149 commit 3aadc5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ mod tauri {
"#;

pub async fn start_tauri() {
let t = tauri::Builder::default().setup(|app| {
let t = tauri::Builder::default().any_thread().setup(|app| {
tauri::WindowBuilder::new(app, "label", tauri::WindowUrl::App("index.html".into()))
.initialization_script(INIT_SCRIPT)
.title("Axolotl")
Expand Down

0 comments on commit 3aadc5a

Please sign in to comment.