Skip to content

Commit

Permalink
Drop Tauri Plugin Window State (#2271)
Browse files Browse the repository at this point in the history
do the thing
  • Loading branch information
oscartbeaumont committed Apr 3, 2024
1 parent e34f37d commit 232cbb3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 33 deletions.
29 changes: 2 additions & 27 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 1 addition & 5 deletions apps/desktop/src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,7 @@ repository = { workspace = true }
edition = { workspace = true }

[dependencies]
sd-core = { path = "../../../core", features = [
"ffmpeg",
"heif",
] }
sd-core = { path = "../../../core", features = ["ffmpeg", "heif"] }
sd-fda = { path = "../../../crates/fda" }
sd-prisma = { path = "../../../crates/prisma" }

Expand Down Expand Up @@ -46,7 +43,6 @@ tauri = { version = "=1.5.3", features = [
"tracing",
] }
directories = "5.0.1"
tauri-plugin-window-state = "0.1.1"

[target.'cfg(target_os = "linux")'.dependencies]
sd-desktop-linux = { path = "../crates/linux" }
Expand Down
2 changes: 1 addition & 1 deletion apps/desktop/src-tauri/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ async fn main() -> tauri::Result<()> {
let file_drop_status = Arc::new(Mutex::new(DragAndDropState::default()));
let app = app
.plugin(updater::plugin())
.plugin(tauri_plugin_window_state::Builder::default().build())
// .plugin(tauri_plugin_window_state::Builder::default().build())
.plugin(specta_builder)
.setup(move |app| {
let app = app.handle();
Expand Down

0 comments on commit 232cbb3

Please sign in to comment.