From ca21f4347f4aad2af59a9e0ce30d880ae4822cac Mon Sep 17 00:00:00 2001 From: Ludea Date: Fri, 18 Oct 2024 11:03:58 +0000 Subject: [PATCH] fix: use tauri plugin package --- package.json | 4 +--- src/components/Options.tsx | 2 +- src/utils/SecureStorage.tsx | 2 +- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index a903c9d2..2ccb45c7 100644 --- a/package.json +++ b/package.json @@ -23,9 +23,7 @@ "react": "^18.2.0", "react-dom": "^18.2.0", "react-i18next": "^15.0.1", - "react-router-dom": "^6.22.3", - "tauri-plugin-autostart-api": "https://github.com/tauri-apps/tauri-plugin-autostart", - "tauri-plugin-stronghold-api": "https://github.com/tauri-apps/tauri-plugin-stronghold" + "react-router-dom": "^6.22.3" }, "devDependencies": { "@types/react": "^18.2.74", diff --git a/src/components/Options.tsx b/src/components/Options.tsx index eaf41f76..2708aed9 100644 --- a/src/components/Options.tsx +++ b/src/components/Options.tsx @@ -12,7 +12,7 @@ import { SparusErrorContext, SparusStoreContext } from "utils/Context"; // Tauri api import { remove } from "@tauri-apps/plugin-fs"; -import { enable, disable } from "tauri-plugin-autostart-api"; +import { enable, disable } from "@tauri-apps/plugin-autostart"; // Icons import DeleteIcon from "@mui/icons-material/Delete"; diff --git a/src/utils/SecureStorage.tsx b/src/utils/SecureStorage.tsx index 8006e765..e26937a0 100644 --- a/src/utils/SecureStorage.tsx +++ b/src/utils/SecureStorage.tsx @@ -1,4 +1,4 @@ -import { Stronghold, Client } from "tauri-plugin-stronghold-api"; +import { Stronghold, Client } from "@tauri-apps/plugin-stronghold"; import { appDataDir } from "@tauri-apps/api/path"; export const initStronghold = async () => {