forked from Blizaine/Maestro
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathreset.js
More file actions
22 lines (22 loc) · 1.12 KB
/
Copy pathreset.js
File metadata and controls
22 lines (22 loc) · 1.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Wipes every install artifact so the next Install starts from scratch.
// Mirrors the directories created by install.js and sam_install.js.
module.exports = {
run: [
// Main Python venv
{ method: "fs.rm", params: { path: "app/env" } },
// SAM 3.1 Python 3.12 conda env
{ method: "fs.rm", params: { path: "app/services/sam/env" } },
// SAM 3 source checkout (will be re-cloned on install)
{ method: "fs.rm", params: { path: "app/services/sam/sam3" } },
// Hunyuan3D isolated runtime, official source checkouts, and model cache
{ method: "fs.rm", params: { path: "app/services/hunyuan3d/env" } },
{ method: "fs.rm", params: { path: "app/services/hunyuan3d/vendor" } },
{ method: "fs.rm", params: { path: "app/ckpts/model3d" } },
// MiniMax H3 isolated ComfyUI runtime and lazily-downloaded checkpoints
{ method: "fs.rm", params: { path: "app/services/minimax_h3/env" } },
{ method: "fs.rm", params: { path: "app/services/minimax_h3/vendor" } },
// UI build artifacts
{ method: "fs.rm", params: { path: "ui/node_modules" } },
{ method: "fs.rm", params: { path: "ui/dist" } }
]
}