update build.ts
This commit is contained in:
@@ -18,12 +18,12 @@
|
|||||||
},
|
},
|
||||||
"build.ts": {
|
"build.ts": {
|
||||||
"script_name": "build.ts",
|
"script_name": "build.ts",
|
||||||
"script_length": 5442,
|
"script_length": 5400,
|
||||||
"script_sha256": "88e86c845c6cd11e3fc8a42c36a5f62c71dae3f3fb1610938eee8848eb8c0423",
|
"script_sha256": "1158e454d822811442c9b5ea3a0f41ffe8944b8e317fe26972f13ed50bd6d053",
|
||||||
"script_full_url": "https://git.hatter.ink/hatter/ts-scripts/raw/branch/main/single-scripts/build.ts",
|
"script_full_url": "https://git.hatter.ink/hatter/ts-scripts/raw/branch/main/single-scripts/build.ts",
|
||||||
"single_script_file": true,
|
"single_script_file": true,
|
||||||
"publish_time": 1770564482429,
|
"publish_time": 1770564482429,
|
||||||
"update_time": 1770571637371
|
"update_time": 1770572059688
|
||||||
},
|
},
|
||||||
"cal-bun.ts": {
|
"cal-bun.ts": {
|
||||||
"script_name": "cal-bun.ts",
|
"script_name": "cal-bun.ts",
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ import {
|
|||||||
term,
|
term,
|
||||||
uint8ArrayToHexString,
|
uint8ArrayToHexString,
|
||||||
writeStringToFile,
|
writeStringToFile,
|
||||||
} from "https://script.hatter.ink/@35/deno-commons-mod.ts";
|
} from "https://script.hatter.ink/@36/deno-commons-mod.ts";
|
||||||
import {parseArgs} from "jsr:@std/cli/parse-args";
|
import {parseArgs} from "jsr:@std/cli/parse-args";
|
||||||
import {readFileToString} from "https://global.hatter.ink/script/get/@1/deno-commons-1.6.0-mod.ts";
|
import {readFileToString} from "https://global.hatter.ink/script/get/@1/deno-commons-1.6.0-mod.ts";
|
||||||
|
|
||||||
@@ -157,9 +157,7 @@ async function buildFile(file: string, flags: any) {
|
|||||||
log.warn(`Read script sign PIN failed: `, signScriptUserPinOutput);
|
log.warn(`Read script sign PIN failed: `, signScriptUserPinOutput);
|
||||||
} else {
|
} else {
|
||||||
scriptSignArgs.push("--pin");
|
scriptSignArgs.push("--pin");
|
||||||
scriptSignArgs.push(
|
scriptSignArgs.push(signScriptUserPinOutput.stdoutThenTrim());
|
||||||
signScriptUserPinOutput.getStdoutAsStringThenTrim(),
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
scriptSignArgs.push(bundleFile);
|
scriptSignArgs.push(bundleFile);
|
||||||
|
|
||||||
@@ -175,5 +173,5 @@ async function buildFile(file: string, flags: any) {
|
|||||||
|
|
||||||
await main();
|
await main();
|
||||||
|
|
||||||
// @SCRIPT-SIGNATURE-V1: yk-r1.ES256.20260209T012700+08:00.MEUCIGGCDSJvi+URM4KdfZrW
|
// @SCRIPT-SIGNATURE-V1: yk-r1.ES256.20260209T013352+08:00.MEUCIA0Da37Cvdu6PzvaGWZK
|
||||||
// q04x43Wf4KDFnpuRUJVJp97GAiEAyoTJKX/S7K1/1czB3U6+bKurCgxcG/09AXJSSHSTSo0=
|
// fpW41+0S0tfBfvkpJOFvB1h+AiEAvS1FYGxqEwZThHHZqx/Zju1z8m9D3P4p9EfxojfmDjo=
|
||||||
|
|||||||
Reference in New Issue
Block a user