From 6000787cb8cca5cb77faf8b4730794051bd5bd90 Mon Sep 17 00:00:00 2001 From: DIYgod Date: Mon, 13 Jul 2026 13:03:25 +0800 Subject: [PATCH] fix(desktop): use js-yaml ESM exports for Windows metadata --- apps/desktop/scripts/update-windows-yml.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/desktop/scripts/update-windows-yml.ts b/apps/desktop/scripts/update-windows-yml.ts index 45afd2775..5c04c075c 100644 --- a/apps/desktop/scripts/update-windows-yml.ts +++ b/apps/desktop/scripts/update-windows-yml.ts @@ -2,7 +2,7 @@ import crypto from "node:crypto" import fs from "node:fs" import { fileURLToPath, resolve } from "node:url" -import yaml from "js-yaml" +import * as yaml from "js-yaml" const __dirname = fileURLToPath(new URL(".", import.meta.url)) const basePath = resolve(__dirname, "../out/make/squirrel.windows/x64/")