📝 Update script metadata and improve success logging in init-cheatsheet.ts

This commit is contained in:
2026-04-12 23:14:30 +08:00
parent a84c6cd734
commit e4a3671f56
2 changed files with 6 additions and 5 deletions

View File

@@ -162,12 +162,12 @@
}, },
"init-cheatsheet.ts": { "init-cheatsheet.ts": {
"script_name": "init-cheatsheet.ts", "script_name": "init-cheatsheet.ts",
"script_length": 1257, "script_length": 1304,
"script_sha256": "dc2a11300fb1c96ff3edaa2ea0c942e95d98e7e3c4f7fa93aa565606d59e6da3", "script_sha256": "8dbda9180e217a08f52fc7a8a7d20d33e1d5257ecba9ca1208427ff870787d92",
"script_full_url": "https://git.hatter.ink/hatter/ts-scripts/raw/branch/main/single-scripts/init-cheatsheet.ts", "script_full_url": "https://git.hatter.ink/hatter/ts-scripts/raw/branch/main/single-scripts/init-cheatsheet.ts",
"single_script_file": true, "single_script_file": true,
"publish_time": 1775929369681, "publish_time": 1775929369681,
"update_time": 1775929369681 "update_time": 1776006866736
}, },
"ip.ts": { "ip.ts": {
"script_name": "ip.ts", "script_name": "ip.ts",

View File

@@ -38,6 +38,7 @@ async function main(): Promise<void> {
md.push(""); md.push("");
await writeStringToFile(cheatsheetFile, md.join("\n")); await writeStringToFile(cheatsheetFile, md.join("\n"));
log.success(`Init ${name} successfully.`);
} }
main().catch((err) => { main().catch((err) => {
@@ -45,5 +46,5 @@ main().catch((err) => {
exit(1); exit(1);
}).then(() => exit(0)); }).then(() => exit(0));
// @SCRIPT-SIGNATURE-V1: yk-r1.ES256.20260412T014242+08:00.MEUCIDaSrI8WyJa6nyc3Gd5D // @SCRIPT-SIGNATURE-V1: yk-r1.ES256.20260412T231322+08:00.MEYCIQD09vR5PjKTl9b+gQJQ
// SP/P4BvB3pOKrU9FP7uB/QMAAiEAw/ZuIjxQnOVmSpiP/LRdcvPJlqeAkYaRjoPbMW9Pklg= // ycR0M7Okd9ygkuG5U8lP9HYvBAIhAKpaHWZmGiTK8rX/iQg95M5y5m3y1HvyCaGsB8EATdeQ