Compare commits
6
Commits
migration_v3
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bf59ccd9d9 | ||
|
|
83ed006088 | ||
|
|
4547670d6e | ||
|
|
b3fa1129dd | ||
|
|
f2466984ff | ||
|
|
52440aade3 |
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
[project]
|
[project]
|
||||||
name = "ComfyUI-PechaKucha"
|
name = "ComfyUI-PechaKucha"
|
||||||
description = "Nodes to generate a pecha-kucha presentation in ComfyUI"
|
description = "Nodes to generate a pecha-kucha presentation in ComfyUI"
|
||||||
version = "1.0.1"
|
version = "1.1.2"
|
||||||
license = { file = "LICENSE" }
|
license = { file = "LICENSE" }
|
||||||
dependencies = ["python-pptx >= 1.0.2"]
|
dependencies = ["python-pptx >= 1.0.2"]
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import { app } from "/scripts/app.js";
|
import { app } from "../../../scripts/app.js";
|
||||||
|
|
||||||
app.registerExtension({
|
app.registerExtension({
|
||||||
name: "pecha_kucha.DownloadPechaKucha",
|
name: "pecha_kucha.DownloadPechaKucha",
|
||||||
@@ -51,7 +51,7 @@ app.registerExtension({
|
|||||||
const folderName = cleanFilePath.replace(/[^\\/]+$/, "");
|
const folderName = cleanFilePath.replace(/[^\\/]+$/, "");
|
||||||
const fileNameMatch = cleanFilePath.match(/[^\\/]+$/);
|
const fileNameMatch = cleanFilePath.match(/[^\\/]+$/);
|
||||||
const fileName = fileNameMatch ? fileNameMatch[0] : "";
|
const fileName = fileNameMatch ? fileNameMatch[0] : "";
|
||||||
const viewUrl = `/api/view?subfolder=${encodeURIComponent(folderName)}&filename=${encodeURIComponent(fileName)}&type=output`;
|
const viewUrl = `api/view?subfolder=${encodeURIComponent(folderName)}&filename=${encodeURIComponent(fileName)}&type=output`;
|
||||||
|
|
||||||
// Open the presentation in a new tab
|
// Open the presentation in a new tab
|
||||||
window.open(viewUrl, "_blank");
|
window.open(viewUrl, "_blank");
|
||||||
|
|||||||
Reference in New Issue
Block a user