From 0d37a868835b6947a503b2b634c49b87f9d9a21e Mon Sep 17 00:00:00 2001 From: BTMuli Date: Fri, 2 Jan 2026 21:01:19 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=B8=20=E6=96=B0=E5=A2=9Esrs=E5=91=BD?= =?UTF-8?q?=E4=BB=A4=E7=94=A8=E4=BA=8E=E9=87=8D=E7=BD=AE=E7=AA=97=E5=8F=A3?= =?UTF-8?q?=E5=9B=9E=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src-tauri/tauri.conf.json | 1 + src/App.vue | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index 71761862..d65036e3 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -55,6 +55,7 @@ "cli": { "description": "The Command Func for TeyvatGuide", "subcommands": { + "srs": { "description": "Set auto resize to true" }, "us": { "description": "Run User Scripts", "args": [ diff --git a/src/App.vue b/src/App.vue index 93ae4178..d4864a84 100644 --- a/src/App.vue +++ b/src/App.vue @@ -435,6 +435,8 @@ async function handleCommands(cmds: CliMatches): Promise { skip: `${usMatch.args.skip.value ?? false}`, }, }); + } else if (cmds.subcommand.name === "srs") { + needResize.value = "true"; } }