mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2025-12-06 08:32:51 +08:00
57 lines
1.6 KiB
JSON
57 lines
1.6 KiB
JSON
{
|
|
"$schema": "https://schema.tauri.app/config/2",
|
|
"productName": "TeyvatGuide",
|
|
"identifier": "TeyvatGuide",
|
|
"version": "0.8.6",
|
|
"build": {
|
|
"beforeDevCommand": "pnpm vite:dev",
|
|
"beforeBuildCommand": "pnpm vite:build",
|
|
"devUrl": "http://localhost:4000",
|
|
"frontendDist": "../dist"
|
|
},
|
|
"bundle": {
|
|
"active": true,
|
|
"icon": [
|
|
"icons/32x32.png",
|
|
"icons/128x128.png",
|
|
"icons/128x128@2x.png",
|
|
"icons/icon.icns",
|
|
"icons/icon.ico",
|
|
"icons/icon.png",
|
|
"icons/Square30x30Logo.png",
|
|
"icons/Square44x44Logo.png",
|
|
"icons/Square71x71Logo.png",
|
|
"icons/Square89x89Logo.png",
|
|
"icons/Square107x107Logo.png",
|
|
"icons/Square142x142Logo.png",
|
|
"icons/Square150x150Logo.png",
|
|
"icons/Square284x284Logo.png",
|
|
"icons/Square310x310Logo.png"
|
|
],
|
|
"targets": ["msi", "app", "dmg"],
|
|
"windows": { "wix": { "language": "zh-CN" } },
|
|
"macOS": {},
|
|
"resources": {
|
|
"lib/YaeAchievementLib.dll": "resources/YaeAchievementLib.dll"
|
|
}
|
|
},
|
|
"app": {
|
|
"withGlobalTauri": true,
|
|
"windows": [
|
|
{
|
|
"fullscreen": false,
|
|
"resizable": true,
|
|
"title": "Teyvat Guide",
|
|
"label": "TeyvatGuide",
|
|
"additionalBrowserArgs": "--disable-features=msWebOOUI,msPdfOOUI,msSmartScreenProtection --autoplay-policy=no-user-gesture-required",
|
|
"width": 1600,
|
|
"height": 900,
|
|
"center": true,
|
|
"visible": false
|
|
}
|
|
],
|
|
"security": { "capabilities": ["TeyvatGuide", "Mys", "SubWindow", "DevJson"] }
|
|
},
|
|
"plugins": { "deep-link": { "desktop": { "schemes": ["teyvatguide"] }, "mobile": [] } }
|
|
}
|