🧑‍💻 配置分平台

This commit is contained in:
BTMuli
2026-01-16 20:15:16 +08:00
parent e3f3a038f4
commit 87eddb7e87
5 changed files with 82 additions and 5 deletions

View File

@@ -1,7 +1,7 @@
{
"$schema": "https://schema.tauri.app/config/2",
"productName": "TeyvatGuide",
"identifier": "Teyvat.Guide",
"identifier": "TeyvatGuide",
"version": "0.9.1",
"build": {
"beforeDevCommand": "pnpm vite:dev",
@@ -30,8 +30,7 @@
],
"targets": ["msi", "app", "dmg"],
"windows": { "wix": { "language": "zh-CN" } },
"macOS": {},
"resources": { "lib/YaeAchievementLib.dll": "resources/YaeAchievementLib.dll" }
"macOS": {}
},
"app": {
"withGlobalTauri": true,
@@ -48,7 +47,7 @@
"visible": false
}
],
"security": { "capabilities": ["Teyvat.Guide", "Mys", "SubWindow", "DevJson"] }
"security": { "capabilities": ["TeyvatGuide", "Mys", "SubWindow", "DevJson"] }
},
"plugins": {
"deep-link": { "desktop": { "schemes": ["teyvatguide"] }, "mobile": [] },