mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-21 14:59:39 +00:00
[Electron] ComfyUI server config (Launch args config) (#1644)
* Remove electron adapter server args * Add server args typing * Add server config constant file * Tooltip to name; name to id * Capitalize category * Server config store * Prevent default value * Add serverconfig test * Guard server config panel with electron flag * Filter nullish values from server args * Use slider for preview size
This commit is contained in:
@@ -31,14 +31,6 @@ import { electronAPI as getElectronAPI, isElectron } from '@/utils/envUtil'
|
||||
type: 'boolean',
|
||||
defaultValue: true,
|
||||
onChange: onChangeRestartApp
|
||||
},
|
||||
{
|
||||
id: 'Comfy-Desktop.ComfyServer.ExtraLaunchArgs',
|
||||
category: ['Comfy-Desktop', 'ComfyUI Server'],
|
||||
name: 'Extra launch arguments passed to the ComfyUI main.py script',
|
||||
type: 'text',
|
||||
defaultValue: '',
|
||||
onChange: onChangeRestartApp
|
||||
}
|
||||
],
|
||||
|
||||
|
||||
Reference in New Issue
Block a user