mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2026-03-15 03:53:16 +08:00
🚸 新增srs命令用于重置窗口回正
This commit is contained in:
@@ -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": [
|
||||
|
||||
@@ -435,6 +435,8 @@ async function handleCommands(cmds: CliMatches): Promise<void> {
|
||||
skip: `${usMatch.args.skip.value ?? false}`,
|
||||
},
|
||||
});
|
||||
} else if (cmds.subcommand.name === "srs") {
|
||||
needResize.value = "true";
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user