From dddd86a716404f0e1b473b740a28c2718020aca2 Mon Sep 17 00:00:00 2001 From: clover caruso Date: Sat, 25 Oct 2025 15:05:30 -0700 Subject: [PATCH] fix(sitegen): fix running on windows 7 --- framework/font.ts | 2 +- framework/hot.ts | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/framework/font.ts b/framework/font.ts index 39953480d788c63c9b207cba91dcbe53756a7385..887ffa66be670177bce82abd5f019ddb0489145f 100644 --- a/framework/font.ts +++ b/framework/font.ts @@ -4,7 +4,7 @@ export async function buildFonts(p: progress.Ref, fonts: sg.Font[]) { const temp = path.resolve(".clover/font"); const venv = path.join(temp, "venv"); - const bin = path.join(venv, "bin"); + const bin = path.join(venv, process.platform === "win32" ? "Scripts" : "bin"); if (!fs.existsSync(venv)) { using _ = node.start("setup python env"); diff --git a/framework/hot.ts b/framework/hot.ts index e0257d2a472346efb5c80f750cd7d1728540ec14..3695084aa3edbff84c537ad35fa75e8265e48355 100644 --- a/framework/hot.ts +++ b/framework/hot.ts @@ -174,7 +174,6 @@ function loadMarko(module: NodeJS.Module, filepath: string) { function loadMdx(module: NodeJS.Module, filepath: string) { const input = fs.readFileSync(filepath); - console.log(filepath); const out = mdx.compileSync(input, { jsxImportSource: "#jsx", providerImportSource: "#mdx", -- 2.54.0