Add files via upload
This commit is contained in:
15
repo/js/Shutdown/main.js
Normal file
15
repo/js/Shutdown/main.js
Normal 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");
|
||||
})();
|
||||
12
repo/js/Shutdown/manifest.json
Normal file
12
repo/js/Shutdown/manifest.json
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"manifest_version": 1,
|
||||
"name": "关闭计算机",
|
||||
"version": "1.0",
|
||||
"description": "用于关闭计算机",
|
||||
"authors": [
|
||||
{
|
||||
"name": "HZYgrandma",
|
||||
}
|
||||
],
|
||||
"main": "main.js",
|
||||
}
|
||||
Reference in New Issue
Block a user