From 6a1d1211ae56c608b361e51e70072204a3e77d5f Mon Sep 17 00:00:00 2001 From: sudacode Date: Tue, 22 Sep 2026 02:29:28 -0700 Subject: [PATCH] fix(release): resolve style.css asar lookup with native separators The shared-font check still handed asar a forward-slash path, which fails on Windows the same way the inventory listing did. --- scripts/package-audit.cjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/package-audit.cjs b/scripts/package-audit.cjs index 2ebee9fb..94a6ee4b 100644 --- a/scripts/package-audit.cjs +++ b/scripts/package-audit.cjs @@ -132,7 +132,7 @@ function verifyContents(archive, resources, platform, arch) { assert(!name.path.startsWith('minecard'), `Demo media shipped: ${name.path}`); } for (const ui of ['renderer', 'settings', 'syncui']) { - const css = asar.extractFile(archive, `dist/${ui}/style.css`).toString(); + const css = asar.extractFile(archive, path.join('dist', ui, 'style.css')).toString(); assert(css.includes('../fonts/MPLUS1[wght].ttf'), `Shared font missing from ${ui} CSS`); } return entries;