eeschema simulator: lazy ngspice_service worker — static sharedspice (XSPICE registry + CIDER), init_dll ifdef, e2e both engines
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
parent
004412c53d
commit
703cb010b7
30 changed files with 2872 additions and 82 deletions
|
|
@ -43,12 +43,13 @@ const TOOLS = [
|
|||
"gerbview",
|
||||
"calculator",
|
||||
"occ_service",
|
||||
"ngspice_service",
|
||||
];
|
||||
|
||||
// Files that make up a self-contained tool bundle. `<tool>` is substituted.
|
||||
const SHARED_FILES = ["wx.js", "wx-dom.js", "images.tar.gz"];
|
||||
const toolFiles = (tool) =>
|
||||
tool === "occ_service"
|
||||
tool === "occ_service" || tool === "ngspice_service"
|
||||
? [`${tool}.wasm`, `${tool}.js`]
|
||||
: [`${tool}.wasm`, `${tool}.js`, ...SHARED_FILES];
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue