use tauri instead of webview

This commit is contained in:
polv committed 2026-03-24 10:38:50 +07:00
1 parent f2782a1f99
commit efd5660981
29 files changed
+5553 -632

No files matched your search

+38
View File
@@ -0,0 +1,38 @@
{
"$schema": "../node_modules/@tauri-apps/cli/config.schema.json",
"productName": "zh-grammar",
"version": "0.1.0",
"identifier": "cc.polv.zh-grammar",
"build": {
"frontendDist": "../docs/.vitepress/dist",
"devUrl": "http://localhost:5173",
"beforeDevCommand": "pnpm dev:web",
"beforeBuildCommand": "pnpm build:web"
},
"app": {
"windows": [
{
"title": "zh-grammar",
"width": 1024,
"height": 768,
"resizable": true,
"maximized": true,
"fullscreen": false
}
],
"security": {
"csp": null
}
},
"bundle": {
"active": true,
"targets": "all",
"icon": [
"icons/32x32.png",
"icons/128x128.png",
"icons/128x128@2x.png",
"icons/icon.icns",
"icons/icon.ico"
]
}
}