5
archive/js/Wait 10s/main.js
Normal file
5
archive/js/Wait 10s/main.js
Normal file
@@ -0,0 +1,5 @@
|
||||
(async function () {
|
||||
setGameMetrics(1920, 1080, 2);
|
||||
await sleep(10000); // 转换时间单位,从20ms到秒
|
||||
log.info("等待了10秒");
|
||||
})();
|
||||
12
archive/js/Wait 10s/manifest.json
Normal file
12
archive/js/Wait 10s/manifest.json
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"manifest_version": 1,
|
||||
"name": "等待十秒",
|
||||
"version": "1.0",
|
||||
"description": "用于等待十秒",
|
||||
"authors": [
|
||||
{
|
||||
"name": "鹤望兰",
|
||||
}
|
||||
],
|
||||
"main": "main.js",
|
||||
}
|
||||
Reference in New Issue
Block a user