fix(desktop): use js-yaml ESM exports for Windows metadata

This commit is contained in:
DIYgod 2026-07-13 13:03:25 +08:00
parent d7365aebf4
commit 6000787cb8
1 changed files with 1 additions and 1 deletions

View File

@ -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/")