authorgravatar for git@paperclover.netclover caruso <git@paperclover.net> 2025-10-25 15:05:30-07:00
committergravatar for git@paperclover.netclover caruso <git@paperclover.net> 2025-10-27 01:42:01-07:00
logdddd86a716404f0e1b473b740a28c2718020aca2
tree3bb721b76b8dc1d52c859e5fcc25694b9102fb1c
parent3ac883edb26983722d9845853f016f2976d19e1b
signature Commit is signed but in an unrecognized format.

fix(sitegen): fix running on windows 7


2 files changed, 1 insertions(+), 2 deletions(-)

framework/font.ts+1-1
......@@ -4,7 +4,7 @@ export async function buildFonts(p: progress.Ref, fonts: sg.Font[]) {
44
55 const temp = path.resolve(".clover/font");
66 const venv = path.join(temp, "venv");
7 const bin = path.join(venv, "bin");
7 const bin = path.join(venv, process.platform === "win32" ? "Scripts" : "bin");
88
99 if (!fs.existsSync(venv)) {
1010 using _ = node.start("setup python env");
framework/hot.ts-1
......@@ -174,7 +174,6 @@ function loadMarko(module: NodeJS.Module, filepath: string) {
174174
175175function loadMdx(module: NodeJS.Module, filepath: string) {
176176 const input = fs.readFileSync(filepath);
177 console.log(filepath);
178177 const out = mdx.compileSync(input, {
179178 jsxImportSource: "#jsx",
180179 providerImportSource: "#mdx",