wip: tauri v2

This commit is contained in:
2023-10-06 08:30:59 +07:00
parent 1240353e30
commit 9627c40d75
30 changed files with 1056 additions and 627 deletions

View File

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