[GH-ISSUE #574] how to give a startup .py like web version bat #170

Closed
opened 2026-10-31 22:09:34 +00:00 by bsakaguchi · 3 comments
Owner

Originally created by @xueqing0622 on GitHub (Dec 27, 2024).
Original GitHub issue: https://github.com/Comfy-Org/desktop/issues/574

I make .py to replace same file because the update file no I want,
how to give a startup .py like web version bat , like below,
.\python_embeded\python.exe "F:\ComfyUI\ComfyUI\custom_nodes\00xq\fixedReplace.py

┆Issue is synchronized with this Notion page by Unito

Originally created by @xueqing0622 on GitHub (Dec 27, 2024). Original GitHub issue: https://github.com/Comfy-Org/desktop/issues/574 I make .py to replace same file because the update file no I want, how to give a startup .py like web version bat , like below, `.\python_embeded\python.exe "F:\ComfyUI\ComfyUI\custom_nodes\00xq\fixedReplace.py` ┆Issue is synchronized with this [Notion page](https://www.notion.so/Issue-574-how-to-give-a-startup-py-like-web-version-bat-16e6d73d365081a99b9fd0bd33f4ece9) by [Unito](https://www.unito.io)
bsakaguchi 2026-10-31 22:09:34 +00:00
Author
Owner

@robinjhuang commented on GitHub (Dec 31, 2024):

Sorry, can you clarify what you need here? You don't want updates?

<!-- gh-comment-id:2566638076 --> @robinjhuang commented on GitHub (Dec 31, 2024): Sorry, can you clarify what you need here? You don't want updates?
Author
Owner

@xueqing0622 commented on GitHub (Jan 1, 2025):

For example,
1 in some plugins, I changed the version myself or set up something myself,
2 then in manger and like to update all with one click, if after update my change will be overwrited
3 so I set up the startup python file to overwrite the plugin file that is updated with my own change

<!-- gh-comment-id:2566784696 --> @xueqing0622 commented on GitHub (Jan 1, 2025): For example, 1 in some plugins, I changed the version myself or set up something myself, 2 then in manger and like to update all with one click, if after update my change will be overwrited 3 so I set up the startup python file to overwrite the plugin file that is updated with my own change
Author
Owner

@dosubot[bot] commented on GitHub (Apr 19, 2025):

Hi, @xueqing0622. I'm Dosu, and I'm helping the desktop team manage their backlog. I'm marking this issue as stale.

Issue Summary:

  • You are seeking guidance on creating a startup script for a Python file, similar to a batch file for a web version.
  • You provided an example of using an embedded Python executable to run a script.
  • You clarified the need to automate overwriting updated plugin files with your changes after updates.
  • User robinjhuang asked for clarification on whether updates are desired, which led to your explanation.

Next Steps:

  • Please let us know if this issue is still relevant to the latest version of the desktop repository by commenting on this issue.
  • If there is no further activity, this issue will be automatically closed in 7 days.

Thank you for your understanding and contribution!

<!-- gh-comment-id:2816763755 --> @dosubot[bot] commented on GitHub (Apr 19, 2025): Hi, @xueqing0622. I'm [Dosu](https://dosu.dev), and I'm helping the desktop team manage their backlog. I'm marking this issue as stale. **Issue Summary:** - You are seeking guidance on creating a startup script for a Python file, similar to a batch file for a web version. - You provided an example of using an embedded Python executable to run a script. - You clarified the need to automate overwriting updated plugin files with your changes after updates. - User robinjhuang asked for clarification on whether updates are desired, which led to your explanation. **Next Steps:** - Please let us know if this issue is still relevant to the latest version of the desktop repository by commenting on this issue. - If there is no further activity, this issue will be automatically closed in 7 days. Thank you for your understanding and contribution!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Comfy-Org/desktop#170
No description provided.