diff --git a/repo/js/ExitGametoDesktop/main.js b/repo/js/ExitGametoDesktop/main.js new file mode 100644 index 00000000..17f8b8f6 --- /dev/null +++ b/repo/js/ExitGametoDesktop/main.js @@ -0,0 +1,10 @@ +(async function () { + // settings 的对象内容来自于 settings.json 文件生成的动态配置页面 +//前置系统状态:大世界正常主界面 + setGameMetrics(3840,2160,2) + keyPress("VK_ESCAPE");//打开派蒙菜单 + await sleep(1000); + click(90,2000);//点击左下角退出按钮 + await sleep(1000); + click(2100,1300);//点击确定 +})(); \ No newline at end of file diff --git a/repo/js/ExitGametoDesktop/manifest.json b/repo/js/ExitGametoDesktop/manifest.json new file mode 100644 index 00000000..5df277e0 --- /dev/null +++ b/repo/js/ExitGametoDesktop/manifest.json @@ -0,0 +1,13 @@ +{ + "manifest_version": 1, + "name": "完全退出游戏到桌面", + "version": "1.0", + "description": "原理基于Because66666的ExitGame, 配合原神更新,一步到位关闭游戏", + "authors": [ + { + "name": "MeisterJ", + "link": "https://github.com/MeisterJ" + } + ], + "main": "main.js" +}