Add files via upload

This commit is contained in:
洪籽阳外婆
2024-10-13 20:50:41 +08:00
committed by GitHub
parent 54f64921cb
commit 226892c168
14 changed files with 197 additions and 0 deletions

15
repo/js/Shutdown/main.js Normal file
View File

@@ -0,0 +1,15 @@
(async function () {
keyDown("LWIN");
keyDown("X");
await sleep(50);
keyUp("LWIN");
keyUp("X");
await sleep(3000);
keyPress("LSHIFT");
await sleep(50);
keyPress("LCONTROL");
await sleep(50);
keyPress("U");
await sleep(1000);
keyPress("U");
})();

View File

@@ -0,0 +1,12 @@
{
"manifest_version": 1,
"name": "关闭计算机",
"version": "1.0",
"description": "用于关闭计算机",
"authors": [
{
"name": "HZYgrandma",
}
],
"main": "main.js",
}