Migrate to Tauri V2

This commit is contained in:
kwaroran
2024-10-09 20:07:59 +09:00
parent 0e99d96088
commit 5a931d4ba0
23 changed files with 13225 additions and 1601 deletions

View File

@@ -4,7 +4,7 @@ export function preLoadCheck(){
const searchParams = new URLSearchParams(location.search);
//@ts-ignore
const isTauri = !!window.__TAURI__
const isTauri = !!window.__TAURI_INTERNALS__
//@ts-ignore
const isNodeServer = !!globalThis.__NODE__
const isCapacitor = Capacitor.isNativePlatform();