Add files via upload

This commit is contained in:
Kupder
2024-10-29 20:03:24 +08:00
committed by GitHub
parent 70aa22fd96
commit 5f192c5bb7
5 changed files with 164 additions and 0 deletions

18
repo/js/Logout/main.js Normal file
View File

@@ -0,0 +1,18 @@
(async function () {
setGameMetrics(1920, 1080, 2);
await sleep(1000);
keyPress("ESCAPE")
await sleep(1000);
click(50, 1030);
log.info("退出");
await sleep(1000);
click(1000, 750);
log.info("确认");
await sleep(20000);
click(1800, 1000);
log.info("切换账号");
await sleep(1000);
click(1000, 550);
log.info("确认");
await sleep(4000);
})();

View File

@@ -0,0 +1,12 @@
{
"manifest_version": 1,
"name": "退出并重登",
"version": "1.0",
"description": "退出游戏并退出账号",
"authors": [
{
"name": "愚溪",
}
],
"main": "main.js"
}