mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2026-03-15 03:53:16 +08:00
74 lines
2.1 KiB
JSON
74 lines
2.1 KiB
JSON
{
|
|
"$schema": "https://schema.tauri.app/config/2",
|
|
"productName": "TeyvatGuide",
|
|
"identifier": "TeyvatGuide",
|
|
"version": "0.9.5",
|
|
"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"
|
|
]
|
|
},
|
|
"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": [] },
|
|
"cli": {
|
|
"description": "The Command Func for TeyvatGuide",
|
|
"subcommands": {
|
|
"srs": { "description": "Set auto resize to true" },
|
|
"us": {
|
|
"description": "Run User Scripts",
|
|
"args": [
|
|
{
|
|
"short": "u",
|
|
"name": "uids",
|
|
"description": "Target Miyoushe UID",
|
|
"takesValue": true,
|
|
"multiple": true
|
|
},
|
|
{ "short": "s", "name": "skip", "description": "Skip Geetest Verify" },
|
|
{ "short": "e", "name": "exit", "description": "Exit App after command" }
|
|
]
|
|
}
|
|
},
|
|
"args": [{ "description": "Run as admin flag", "name": "elevated" }]
|
|
}
|
|
}
|
|
}
|