mirror of
https://git.datalinker.icu/ltdrdata/ComfyUI-Manager
synced 2025-12-08 21:54:26 +08:00
Add linux form factor.
This commit is contained in:
parent
9d5faa096c
commit
982a60e85f
@ -42,6 +42,7 @@ async def _get_cnr_data(cache_mode=True, dont_wait=True):
|
|||||||
system = platform.system().lower()
|
system = platform.system().lower()
|
||||||
is_windows = system == 'windows'
|
is_windows = system == 'windows'
|
||||||
is_mac = system == 'darwin'
|
is_mac = system == 'darwin'
|
||||||
|
is_linux = system == 'linux'
|
||||||
|
|
||||||
# Get ComfyUI version tag
|
# Get ComfyUI version tag
|
||||||
if is_desktop:
|
if is_desktop:
|
||||||
@ -62,6 +63,8 @@ async def _get_cnr_data(cache_mode=True, dont_wait=True):
|
|||||||
form_factor = 'git-windows'
|
form_factor = 'git-windows'
|
||||||
elif is_mac:
|
elif is_mac:
|
||||||
form_factor = 'git-mac'
|
form_factor = 'git-mac'
|
||||||
|
elif is_linux:
|
||||||
|
form_factor = 'git-linux'
|
||||||
else:
|
else:
|
||||||
form_factor = 'other'
|
form_factor = 'other'
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user