revert to tauri v1

This commit is contained in:
Ren Amamiya
2023-09-02 12:15:48 +07:00
parent 1931373515
commit 7a3b19bf7b
33 changed files with 717 additions and 1228 deletions

View File

@@ -19,8 +19,8 @@ export function ErrorScreen() {
useEffect(() => {
async function getInformation() {
const { platform, version } = await import('@tauri-apps/plugin-os');
const { getVersion } = await import('@tauri-apps/plugin-app');
const { platform, version } = await import('@tauri-apps/api/os');
const { getVersion } = await import('@tauri-apps/api/app');
const platformName = await platform();
const osVersion = await version();