Skip to content

Commit

Permalink
Switch back to regular manager.
Browse files Browse the repository at this point in the history
  • Loading branch information
robinjhuang committed Nov 21, 2024
1 parent 1967cac commit 1e11f10
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 11 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
This electron app is the simplest way to use [ComfyUI](https://github.com/comfyanonymous/ComfyUI) and comes bundled with a few things:

- Stable version of ComfyUI from [releases](https://github.com/comfyanonymous/ComfyUI/releases)
- comfyui [manager-core](https://github.com/Comfy-Org/manager-core)
- [ComfyUI-Manager](https://github.com/ltdrdata/ComfyUI-Manager)
- [uv](https://github.com/astral-sh/uv)

On startup, it will install all the necessary python dependencies with uv and start the ComfyUI server. The app will automatically update with stable releases of ComfyUI, ComfyUI-Manager, and the uv executable.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"config": {
"frontendVersion": "1.4.6",
"comfyVersion": "0.3.0",
"managerCommit": "e629215c100c89a9a9d33fc03be3248069ff67ef",
"managerCommit": "c7b2ec7502126e4435385e8ebbbf4ef088c6da81",
"uvVersion": "0.5.2"
},
"scripts": {
Expand Down
7 changes: 0 additions & 7 deletions scripts/makeComfy.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ function makeAssets(gpuFlag) {
'&&',
`comfy-cli --skip-prompt --here install --version ${pkg.config.comfyVersion} --fast-deps`,
gpuFlag,
'--manager-url https://github.com/Comfy-Org/manager-core',
'--manager-commit',
pkg.config.managerCommit,
'&&',
Expand All @@ -19,12 +18,6 @@ function makeAssets(gpuFlag) {


execSync(baseCommand, { stdio: 'inherit' });

// Rename custom_nodes/ComfyUI-Manager to manager-core
if (!fs.existsSync('assets/ComfyUI/custom_nodes/ComfyUI-Manager')) {
throw new Error('ComfyUI-Manager not found');
}
fs.renameSync('./assets/ComfyUI/custom_nodes/ComfyUI-Manager', './assets/ComfyUI/custom_nodes/manager-core');
}

// Get GPU flag from command line argument
Expand Down
2 changes: 1 addition & 1 deletion scripts/todesktop/afterPack.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ module.exports = async ({ appOutDir, packager, outDir }) => {
const resourcePath = path.join(appPath, "Contents", "Resources");
// Remove these Git folders that mac's codesign is choking on. Need a more recursive way to just find all folders with '.git' and delete
await fs.rm(path.join(assetPath, "ComfyUI", ".git"), { recursive: true, force: true });
await fs.rm(path.join(assetPath, "ComfyUI", 'custom_nodes', 'manager-core', ".git"), { recursive: true, force: true });
await fs.rm(path.join(assetPath, "ComfyUI", 'custom_nodes', 'ComfyUI-Manager', ".git"), { recursive: true, force: true });
await fs.rm(path.join(assetPath, "ComfyUI", 'custom_nodes', 'DesktopSettingsExtension', ".git"), { recursive: true, force: true });
// Move rest of items to the resource folder
await fs.cp(assetPath, resourcePath, { recursive: true });
Expand Down
2 changes: 1 addition & 1 deletion src/virtualEnvironment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export class VirtualEnvironment {
resourcesPath,
'ComfyUI',
'custom_nodes',
'manager-core',
'ComfyUI-Manager',
'requirements.txt'
);

Expand Down

0 comments on commit 1e11f10

Please sign in to comment.