Add files via upload

返回主界面
This commit is contained in:
linbooker
2024-10-20 14:09:27 +08:00
committed by GitHub
parent 37cd6bbfa0
commit ff75ca3b66
2 changed files with 24 additions and 0 deletions

12
repo/js/Back/main.js Normal file
View File

@@ -0,0 +1,12 @@
(async function () {
for (var i=0;i<3;i++)
{
keyPress("VK_ESCAPE");
await sleep(1000);
}
keyPress("VK_RETURN");
await sleep(500);
keyPress("VK_ESCAPE");
await sleep(500);
log.info("已返回主界面");
})();

View File

@@ -0,0 +1,12 @@
{
"manifest_version": 1,
"name": "返回主界面",
"version": "1.0",
"description": "强制返回主界面",
"authors": [
{
"name": "LL"
}
],
"main": "main.js"
}