remove plugin

This commit is contained in:
Fractal-Tess
2022-12-21 02:56:30 +02:00
parent 059e8c29f3
commit 1565df2ffd
3 changed files with 1 additions and 16 deletions

13
src-tauri/Cargo.lock generated
View File

@@ -2522,7 +2522,6 @@ dependencies = [
"sha2", "sha2",
"tauri", "tauri",
"tauri-build", "tauri-build",
"tauri-plugin-store",
"tauri-plugin-window-state", "tauri-plugin-window-state",
] ]
@@ -2729,18 +2728,6 @@ dependencies = [
"tauri-utils", "tauri-utils",
] ]
[[package]]
name = "tauri-plugin-store"
version = "0.0.0"
source = "git+https://github.com/tauri-apps/tauri-plugin-store?branch=dev#9bd993aa67766596638bbfd91e79a1bf8f632014"
dependencies = [
"log",
"serde",
"serde_json",
"tauri",
"thiserror",
]
[[package]] [[package]]
name = "tauri-plugin-window-state" name = "tauri-plugin-window-state"
version = "0.1.0" version = "0.1.0"

View File

@@ -7,7 +7,7 @@ license = "MIT"
repository = "https://github.com/Fractal-Tess/Svelte-Tauri" repository = "https://github.com/Fractal-Tess/Svelte-Tauri"
default-run = "svelte-tauri" default-run = "svelte-tauri"
edition = "2021" edition = "2021"
rust-version = "1.57" rust-version = "1.65"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
@@ -18,7 +18,6 @@ tauri-build = { version = "1.2.1", features = [] }
serde_json = "1.0" serde_json = "1.0"
sha2 = "0.10.6" sha2 = "0.10.6"
tauri-plugin-window-state = { git = "https://github.com/tauri-apps/tauri-plugin-window-state", branch = "dev" } tauri-plugin-window-state = { git = "https://github.com/tauri-apps/tauri-plugin-window-state", branch = "dev" }
tauri-plugin-store = { git = "https://github.com/tauri-apps/tauri-plugin-store", branch="dev" }
serde = { version = "1.0", features = ["derive"] } serde = { version = "1.0", features = ["derive"] }
tauri = { version = "1.2.2", features = ["api-all", "devtools"] } tauri = { version = "1.2.2", features = ["api-all", "devtools"] }

View File

@@ -8,7 +8,6 @@ use tauri::RunEvent;
fn main() { fn main() {
let app = tauri::Builder::default() let app = tauri::Builder::default()
.plugin(tauri_plugin_store::PluginBuilder::default().build())
.plugin(tauri_plugin_window_state::Builder::default().build()) .plugin(tauri_plugin_window_state::Builder::default().build())
.invoke_handler(tauri::generate_handler![called_from_js, hash256sum]) .invoke_handler(tauri::generate_handler![called_from_js, hash256sum])
.build(tauri::generate_context!()) .build(tauri::generate_context!())