⚙️ Configure index.ts as executable Bun script with shebang and signature

This commit is contained in:
2026-05-18 01:43:46 +08:00
parent 013da7eb01
commit f9657450d3
Regular → Executable
+5
View File
@@ -1,3 +1,5 @@
#!/usr/bin/env runts -- --runtime-bun
import { parseArgs } from "util";
const SUPPORTED_INPUT_FORMATS = [".heic", ".jpeg", ".jpg", ".png", ".webp", ".gif", ".bmp", ".avif", ".tiff", ".tif"];
@@ -201,3 +203,6 @@ async function main() {
}
main();
// @SCRIPT-SIGNATURE-V1: yk-r1.ES256.20260518T013910+08:00.MEUCIQCK14nqUlqReOTSOpqy
// ZbALBwrehIRLzuzTWORTkZgqUQIgGAVyhSOnqaaSaKCdDvfmPy6eGWM9IiyStxiaOx1Bw5M=