setupcomfyuimodels 1.0.2 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/downloadAssets.ts +3 -1
package/package.json
CHANGED
package/src/downloadAssets.ts
CHANGED
|
@@ -117,7 +117,9 @@ const downloadFile = async (
|
|
|
117
117
|
) => {
|
|
118
118
|
const getTargetId = () => path.join(targetLocation, targetFileName || "");
|
|
119
119
|
try {
|
|
120
|
-
const targetDir = path.normalize(
|
|
120
|
+
const targetDir = path.normalize(
|
|
121
|
+
`${WORKSPACE}/ComfyUI/models/${targetLocation}`,
|
|
122
|
+
);
|
|
121
123
|
|
|
122
124
|
fs.mkdirSync(targetDir, { recursive: true });
|
|
123
125
|
if (targetFileName && fs.existsSync(path.join(targetDir, targetFileName))) {
|