mirror of
https://github.com/babalae/bettergi-scripts-list.git
synced 2026-06-01 00:25:50 +08:00
rebuild release branch
This commit is contained in:
8
repo/js/SetTime/main.js
Normal file
8
repo/js/SetTime/main.js
Normal file
@@ -0,0 +1,8 @@
|
||||
(async function () {
|
||||
const hour = Number(settings.hour || "6");
|
||||
const minute = Number(settings.minute || "0");
|
||||
const skip = settings.skip || false;
|
||||
setGameMetrics(1920, 1080, 1);
|
||||
await genshin.returnMainUi();
|
||||
await genshin.setTime(hour, minute, skip);
|
||||
})();
|
||||
25
repo/js/SetTime/manifest.json
Normal file
25
repo/js/SetTime/manifest.json
Normal file
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"manifest_version": 1,
|
||||
"name": "调整游戏时间",
|
||||
"version": "1.1",
|
||||
"description": "用于调整游戏时间",
|
||||
"authors": [
|
||||
{
|
||||
"name": "Tim",
|
||||
"links": "https://github.com/Limint"
|
||||
},
|
||||
{
|
||||
"name": "子寻"
|
||||
},
|
||||
{
|
||||
"name": "愚溪",
|
||||
"links": "https://github.com/Kupder"
|
||||
},
|
||||
{
|
||||
"name": "躁动的氨气",
|
||||
"links": "https://github.com/A-Little-AnQi"
|
||||
}
|
||||
],
|
||||
"settings_ui": "settings.json",
|
||||
"main": "main.js"
|
||||
}
|
||||
20
repo/js/SetTime/settings.json
Normal file
20
repo/js/SetTime/settings.json
Normal file
@@ -0,0 +1,20 @@
|
||||
[
|
||||
{
|
||||
"name": "hour",
|
||||
"type": "input-text",
|
||||
"label": "输入小时 [0-24] ",
|
||||
"default": "6"
|
||||
},
|
||||
{
|
||||
"name": "minute",
|
||||
"type": "input-text",
|
||||
"label": "输入分钟 [0-59] ",
|
||||
"default": "0"
|
||||
},
|
||||
{
|
||||
"name": "skip",
|
||||
"type": "checkbox",
|
||||
"label": "是否跳过动画",
|
||||
"default": true
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user