From 82824d99bc600d442033ca2fdd9fe38772ae8123 Mon Sep 17 00:00:00 2001 From: Jamis Date: Sat, 25 Oct 2025 12:29:44 +0800 Subject: [PATCH] Update (#2242) --- repo/js/ExitGameMultipleMode/main.js | 10 ++++------ repo/js/ExitGameMultipleMode/manifest.json | 2 +- repo/js/ExitGameMultipleMode/settings.json | 2 +- 3 files changed, 6 insertions(+), 8 deletions(-) diff --git a/repo/js/ExitGameMultipleMode/main.js b/repo/js/ExitGameMultipleMode/main.js index a64e129e0..8a0ab31e3 100644 --- a/repo/js/ExitGameMultipleMode/main.js +++ b/repo/js/ExitGameMultipleMode/main.js @@ -20,21 +20,19 @@ await sleep(1500); } - // Because 完全退出游戏 - // 这个坐标有问题,等个有缘人来修 + // 完全退出游戏 async function ExitGame() { - // settings 的对象内容来自于 settings.json 文件生成的动态配置页面 // 前置系统状态:大世界正常主界面 setGameMetrics(3840, 2160, 2) keyPress("VK_ESCAPE");//打开派蒙菜单 await sleep(1000); click(90, 2000);//点击左下角退出按钮 await sleep(1000); - click(2100, 1500);//点击确定 + click(2100, 1080);//点击确定 await sleep(10000);//渲染开门界面的时间 - click(200, 1950);//点击登录界面左下角退出按钮 + click(192, 1970);//点击登录界面左下角退出按钮 await sleep(1000); - click(2200, 1100);//点击确定 + click(2150, 1150);//点击确定 await sleep(1000); } diff --git a/repo/js/ExitGameMultipleMode/manifest.json b/repo/js/ExitGameMultipleMode/manifest.json index 35beae9a7..9ba82d2d9 100644 --- a/repo/js/ExitGameMultipleMode/manifest.json +++ b/repo/js/ExitGameMultipleMode/manifest.json @@ -1,7 +1,7 @@ { "manifest_version": 1, "name": "退出游戏多模式", - "version": "1.0", + "version": "1.1", "description": "用于各种各样的退出游戏,主要是轮子太多了,功能还差不多", "tags": [ "退出游戏", diff --git a/repo/js/ExitGameMultipleMode/settings.json b/repo/js/ExitGameMultipleMode/settings.json index cad377f4b..2dd15f7a8 100644 --- a/repo/js/ExitGameMultipleMode/settings.json +++ b/repo/js/ExitGameMultipleMode/settings.json @@ -5,7 +5,7 @@ "label": "退出模式", "options": [ "Alt+F4", - // "完全退出游戏", + "完全退出游戏", "完全退出游戏到桌面" ], "default": "完全退出游戏到桌面"