Add interface languages and improve themes and workspace controls for 0.1.36
This commit is contained in:
@@ -5,12 +5,12 @@ import { fileURLToPath } from "node:url";
|
||||
import { packagePlugin } from "./packagePlugin.mjs";
|
||||
|
||||
const root = fileURLToPath(new URL("../", import.meta.url));
|
||||
const formulasRoot = resolve(process.env.RUNESTONE_TABLE_FORMULAS_ROOT || resolve(root, "../RuneStone_TableFormulas"));
|
||||
const formulasRoot = resolve(process.env.RUNESTONE_TABLE_FORMULAS_ROOT || resolve(root, "../RuneStone_Table_Formulas"));
|
||||
const formulasBuild = resolve(formulasRoot, "scripts/build.mjs");
|
||||
try {
|
||||
await access(formulasBuild);
|
||||
} catch {
|
||||
throw new Error("Clone RuneStone_TableFormulas beside RuneStone, or set RUNESTONE_TABLE_FORMULAS_ROOT. Install its dependencies before building plugins.");
|
||||
throw new Error("Clone RuneStone_Table_Formulas beside RuneStone, or set RUNESTONE_TABLE_FORMULAS_ROOT. Install its dependencies before building plugins.");
|
||||
}
|
||||
execFileSync(process.execPath, [formulasBuild], { cwd: formulasRoot, stdio: "inherit" });
|
||||
const formulasOutput = resolve(root, "plugin-packages/table-formulas");
|
||||
|
||||
Reference in New Issue
Block a user