mirror of
https://github.com/Comfy-Org/desktop.git
synced 2026-11-04 23:47:43 +00:00
[PR #216] [CLOSED] Draft: Refactor installation state. #694
Labels
No labels
area: desktop-app
Bounty
bug
bug-cop:answered
bug-cop:response-received
component: installer
component: preload
custom node
dependencies
Design
documentation
duplicate
enhancement
expected
frontend
good first issue
installation
Low-Priority
performance
Planned
platform: cross-platform
platform: windows
Potential Bug
Potential Bug
pull-request
question
refactor
Release
stale
User Support
V1
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Comfy-Org/desktop#694
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Comfy-Org/desktop/pull/216
Author: @robinjhuang
Created: 11/10/2024
Status: ❌ Closed
Base:
main← Head:rh-install📝 Commits (2)
c7ee7c2Refactor install.ce150c6Valdiate.📊 Changes
4 files changed (+136 additions, -42 deletions)
View changed files
📝
src/config/comfyConfigManager.ts(+3 -0)📝
src/constants.ts(+4 -0)➕
src/install/install.ts(+124 -0)📝
src/main.ts(+5 -42)📄 Description
Currently, the main process will send events and state to the renderer for the initial onboarding installation.
This is brittle because the renderer state can become out of sync if it misses messages.
This refactor stores the current state of the installation, and registers an IPC event so the renderer can always request the up to date state.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.