From e4a3671f56993dac0c270642e18546a3fbc2fd86 Mon Sep 17 00:00:00 2001 From: Hatter Jiang Date: Sun, 12 Apr 2026 23:14:30 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20Update=20script=20metadata=20and?= =?UTF-8?q?=20improve=20success=20logging=20in=20init-cheatsheet.ts?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- script-meta-v2.json | 6 +++--- single-scripts/init-cheatsheet.ts | 5 +++-- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/script-meta-v2.json b/script-meta-v2.json index 0e6c0f5..54d02f2 100644 --- a/script-meta-v2.json +++ b/script-meta-v2.json @@ -162,12 +162,12 @@ }, "init-cheatsheet.ts": { "script_name": "init-cheatsheet.ts", - "script_length": 1257, - "script_sha256": "dc2a11300fb1c96ff3edaa2ea0c942e95d98e7e3c4f7fa93aa565606d59e6da3", + "script_length": 1304, + "script_sha256": "8dbda9180e217a08f52fc7a8a7d20d33e1d5257ecba9ca1208427ff870787d92", "script_full_url": "https://git.hatter.ink/hatter/ts-scripts/raw/branch/main/single-scripts/init-cheatsheet.ts", "single_script_file": true, "publish_time": 1775929369681, - "update_time": 1775929369681 + "update_time": 1776006866736 }, "ip.ts": { "script_name": "ip.ts", diff --git a/single-scripts/init-cheatsheet.ts b/single-scripts/init-cheatsheet.ts index 4e42357..4812f51 100755 --- a/single-scripts/init-cheatsheet.ts +++ b/single-scripts/init-cheatsheet.ts @@ -38,6 +38,7 @@ async function main(): Promise { md.push(""); await writeStringToFile(cheatsheetFile, md.join("\n")); + log.success(`Init ${name} successfully.`); } main().catch((err) => { @@ -45,5 +46,5 @@ main().catch((err) => { exit(1); }).then(() => exit(0)); -// @SCRIPT-SIGNATURE-V1: yk-r1.ES256.20260412T014242+08:00.MEUCIDaSrI8WyJa6nyc3Gd5D -// SP/P4BvB3pOKrU9FP7uB/QMAAiEAw/ZuIjxQnOVmSpiP/LRdcvPJlqeAkYaRjoPbMW9Pklg= +// @SCRIPT-SIGNATURE-V1: yk-r1.ES256.20260412T231322+08:00.MEYCIQD09vR5PjKTl9b+gQJQ +// ycR0M7Okd9ygkuG5U8lP9HYvBAIhAKpaHWZmGiTK8rX/iQg95M5y5m3y1HvyCaGsB8EATdeQ