Files
KOFiblto-ComfyUI-SaturnNodes/install.py
T
Mathias Kornschober 40e6079c34 Fix/repo audit remediation (#3)
* Fix (Preview Aspect Ratio): Center white outline box and position width label below bottom bar and height label next to left bar

* Refactor: Create central nodes/utils.py module for pretty name parsing and path sanitization

* Refactor: Standardize LoRA loader and text finder options and rename to VisualLoraLoader and TextLoraFinder

* Refactor: Rename VisualImageLoader and add advanced display mode and sorting options

* Refactor: Update class names, parameters, display names, and categories across all nodes

* Docs: Update node reference documentation with standardized names and options

* Fix: Resolve aspect ratio box bounding and prevent aspect ratio lock on preview nodes

* Fix: Render crop handle bracket style for aspect ratio preview node

* Feat: Support sequential and random no-replace selection modes, fix tile alignment, and enforce 1/5th crop handle proportions

* Fix: Dynamic positioning of dimension labels, 5-digit padding, curved crop corners, and render caching

* Fix: Instant snap rendering without transitions, balanced 65px horizontal padding, and unconstrained 1:1 node resizing

* Fix: Adjust min sizes to [100, 100] for PreviewLatentLive and [230, 160] for PreviewAspect

* Fix: Optimize canvas draw performance by bypassing canvas pass when DOM widget is active

* Fix: Detect aspect ratios in prompts with attached trailing punctuation like 16:9.

* Fix: Set Sequential as default selection mode for VisualLoraLoader

* Fix: Re-parse prompt blocks in PromptQueueIterator when cached list is empty

* Fix: Add automatic LRU state key pruning to prevent unlimited growth of state files

* Fix: Synchronize frontend extensions with standardized node names and widget keys

* Fix: Enhance backend path resolution, OS notification safety, and import cleanliness

* Docs: Update .env.example with full setting template and add readme metadata to pyproject.toml

* Feat: Add OS system tray icon with real-time status colors and outside-browser queue controls

* Docs: Add AGENT.md developer and agent standard operating procedure guide
2026-08-16 20:30:46 +02:00

19 lines
569 B
Python

import os
import sys
import subprocess
def main():
print("[ComfyUI-FlowControl] Checking dependencies...")
dependencies = ["pillow", "piexif", "numpy", "pystray"]
for dep in dependencies:
try:
__import__(dep)
except ImportError:
print(f"[ComfyUI-FlowControl] Installing missing dependency: {dep}")
subprocess.check_call([sys.executable, "-m", "pip", "install", dep])
print("[ComfyUI-FlowControl] Installation check complete! Restart ComfyUI to activate.")
if __name__ == "__main__":
main()