Skip to content

Commit

Permalink
Merge pull request #22 from linbooker/main
Browse files Browse the repository at this point in the history
返回主界面
  • Loading branch information
huiyadanli authored Oct 20, 2024
2 parents 37cd6bb + ff75ca3 commit 87e6d53
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
12 changes: 12 additions & 0 deletions repo/js/Back/main.js
Original file line number Diff line number Diff line change
@@ -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("已返回主界面");
})();
12 changes: 12 additions & 0 deletions repo/js/Back/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"manifest_version": 1,
"name": "返回主界面",
"version": "1.0",
"description": "强制返回主界面",
"authors": [
{
"name": "LL"
}
],
"main": "main.js"
}

0 comments on commit 87e6d53

Please sign in to comment.