This commit is contained in:
2026-04-08 21:26:18 +08:00
commit 8fdc7ac0c3
401 changed files with 53093 additions and 0 deletions

9
apps/tauri/src/main.ts Normal file
View File

@@ -0,0 +1,9 @@
import { WebBridge } from '@cslab-dcs/bridge'
import { TauriBridge } from '@cslab-dcs/bridge/tauri'
import { createDCSApp } from '@cslab-dcs/core'
const isTauri = !!(window as any).__TAURI_INTERNALS__ || !!(window as any).__TAURI__
const bridge = isTauri ? new TauriBridge() : new WebBridge()
const app = createDCSApp(bridge)
app.mount('#app')