Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
df2a7ddca4 | ||
|
|
ba9c71ffa4 |
@@ -42,7 +42,7 @@ import manager_downloader
|
|||||||
from node_package import InstalledNodePackage
|
from node_package import InstalledNodePackage
|
||||||
|
|
||||||
|
|
||||||
version_code = [3, 17, 1]
|
version_code = [3, 17, 3]
|
||||||
version_str = f"V{version_code[0]}.{version_code[1]}" + (f'.{version_code[2]}' if len(version_code) > 2 else '')
|
version_str = f"V{version_code[0]}.{version_code[1]}" + (f'.{version_code[2]}' if len(version_code) > 2 else '')
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -763,10 +763,9 @@ export class CustomNodesManager {
|
|||||||
|
|
||||||
".cn-manager-restart": {
|
".cn-manager-restart": {
|
||||||
click: () => {
|
click: () => {
|
||||||
if(rebootAPI()) {
|
this.close();
|
||||||
this.close();
|
this.manager_dialog.close();
|
||||||
this.manager_dialog.close();
|
rebootAPI();
|
||||||
}
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -1386,19 +1385,14 @@ export class CustomNodesManager {
|
|||||||
|
|
||||||
this.install_context = {btn: btn, targets: target_items};
|
this.install_context = {btn: btn, targets: target_items};
|
||||||
|
|
||||||
for(let k in target_items) {
|
|
||||||
let item = this.install_context.targets[k];
|
|
||||||
this.grid.updateCell(item, "action");
|
|
||||||
}
|
|
||||||
|
|
||||||
if(errorMsg) {
|
if(errorMsg) {
|
||||||
this.showError(errorMsg);
|
this.showError(errorMsg);
|
||||||
show_message("Installation Error:\n"+errorMsg);
|
show_message("Installation Error:\n"+errorMsg);
|
||||||
|
|
||||||
// reset
|
// reset
|
||||||
for (const hash of list) {
|
for(let k in target_items) {
|
||||||
const item = this.grid.getRowItemBy("hash", hash);
|
let item = this.install_context.targets[k];
|
||||||
self.grid.updateCell(item, "action");
|
this.grid.updateCell(item, "action");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
@@ -1409,6 +1403,7 @@ export class CustomNodesManager {
|
|||||||
|
|
||||||
async onReconnected(event) {
|
async onReconnected(event) {
|
||||||
let self = CustomNodesManager.instance;
|
let self = CustomNodesManager.instance;
|
||||||
|
|
||||||
if(self.need_restart) {
|
if(self.need_restart) {
|
||||||
self.need_restart = false;
|
self.need_restart = false;
|
||||||
|
|
||||||
|
|||||||
@@ -429,8 +429,9 @@ except Exception as e:
|
|||||||
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
import git # noqa: F401
|
import git # noqa: F401
|
||||||
import toml # noqa: F401
|
import toml # noqa: F401
|
||||||
|
import rich # noqa: F401
|
||||||
except ModuleNotFoundError:
|
except ModuleNotFoundError:
|
||||||
my_path = os.path.dirname(__file__)
|
my_path = os.path.dirname(__file__)
|
||||||
requirements_path = os.path.join(my_path, "requirements.txt")
|
requirements_path = os.path.join(my_path, "requirements.txt")
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
[project]
|
[project]
|
||||||
name = "comfyui-manager"
|
name = "comfyui-manager"
|
||||||
description = "ComfyUI-Manager provides features to install and manage custom nodes for ComfyUI, as well as various functionalities to assist with ComfyUI."
|
description = "ComfyUI-Manager provides features to install and manage custom nodes for ComfyUI, as well as various functionalities to assist with ComfyUI."
|
||||||
version = "3.17.1"
|
version = "3.17.3"
|
||||||
license = { file = "LICENSE.txt" }
|
license = { file = "LICENSE.txt" }
|
||||||
dependencies = ["GitPython", "PyGithub", "matrix-client==0.4.0", "transformers", "huggingface-hub>0.20", "typer", "rich", "typing-extensions"]
|
dependencies = ["GitPython", "PyGithub", "matrix-client==0.4.0", "transformers", "huggingface-hub>0.20", "typer", "rich", "typing-extensions"]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user