From 5ee9ddbda638b14e965b0755d347cf0a6e2b92ab Mon Sep 17 00:00:00 2001 From: Neko Ayaka Date: Sat, 5 Jul 2025 22:45:39 +0800 Subject: [PATCH] fix(stage-tamagotchi): forgot use of StateFlags --- apps/stage-tamagotchi/src-tauri/Cargo.toml | 4 ++-- apps/stage-tamagotchi/src-tauri/src/lib.rs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/stage-tamagotchi/src-tauri/Cargo.toml b/apps/stage-tamagotchi/src-tauri/Cargo.toml index 7a0d7c719..dcf754656 100644 --- a/apps/stage-tamagotchi/src-tauri/Cargo.toml +++ b/apps/stage-tamagotchi/src-tauri/Cargo.toml @@ -55,7 +55,7 @@ tauri-plugin-positioner = "2.3.0" [target.'cfg(target_os = "macos")'.dependencies] objc2 = "0.6.1" objc2-foundation = "0.3.1" -ort = { version = "2.0.0-rc.10", features = ["ndarray", "coreml", "copy-dylibs"] } +ort = { version = "2.0.0-rc.10", features = ["ndarray", "coreml"] } candle-core = { version = "0.9.1", features = ["metal"] } candle-nn = { version = "0.9.1", features = ["metal"] } candle-transformers = { version = "0.9.1", features = ["metal"] } @@ -68,7 +68,7 @@ candle-nn = { version = "0.9.1", features = ["cuda"] } candle-transformers = { version = "0.9.1", features = ["cuda"] } [target.'cfg(target_os = "linux")'.dependencies] -ort = { version = "2.0.0-rc.10", features = ["ndarray", "cuda", "copy-dylibs"] } +ort = { version = "2.0.0-rc.10", features = ["ndarray", "cuda"] } candle-core = { version = "0.9.1", features = ["cuda"] } candle-nn = { version = "0.9.1", features = ["cuda"] } candle-transformers = { version = "0.9.1", features = ["cuda"] } diff --git a/apps/stage-tamagotchi/src-tauri/src/lib.rs b/apps/stage-tamagotchi/src-tauri/src/lib.rs index 1e2592966..eddb6324c 100644 --- a/apps/stage-tamagotchi/src-tauri/src/lib.rs +++ b/apps/stage-tamagotchi/src-tauri/src/lib.rs @@ -8,7 +8,7 @@ use tauri::{ }; use tauri_plugin_positioner::WindowExt; use tauri_plugin_prevent_default::Flags; -use tauri_plugin_window_state::AppHandleExt; +use tauri_plugin_window_state::{AppHandleExt, StateFlags}; mod app; mod helpers;