Compare commits

...

2 Commits

Author SHA1 Message Date
github-actions
806ea8e31b Update locales [skip ci] 2025-06-15 12:26:57 +00:00
Yiqun Xu
48e4856e4c feat: add Custom Launch Arguments 2025-06-15 05:16:35 -07:00
9 changed files with 38 additions and 0 deletions

View File

@@ -43,6 +43,15 @@ import { checkMirrorReachable } from '@/utils/networkUtil'
defaultValue: true,
onChange: onChangeRestartApp
},
{
id: 'Comfy-Desktop.LaunchOptions',
category: ['Comfy-Desktop', 'General', 'Launch Options'],
name: 'Custom Launch Arguments',
tooltip:
'Custom command line arguments for launching the backend (e.g., --cpu). Requires restart.',
type: 'text',
defaultValue: ''
},
{
id: 'Comfy-Desktop.WindowStyle',
category: ['Comfy-Desktop', 'General', 'Window Style'],

View File

@@ -2,6 +2,10 @@
"Comfy-Desktop_AutoUpdate": {
"name": "Automatically check for updates"
},
"Comfy-Desktop_LaunchOptions": {
"name": "Custom Launch Arguments",
"tooltip": "Custom command line arguments for launching the backend (e.g., --cpu). Requires restart."
},
"Comfy-Desktop_SendStatistics": {
"name": "Send anonymous usage metrics"
},

View File

@@ -2,6 +2,10 @@
"Comfy-Desktop_AutoUpdate": {
"name": "Verificar actualizaciones automáticamente"
},
"Comfy-Desktop_LaunchOptions": {
"name": "Argumentos de lanzamiento personalizados",
"tooltip": "Argumentos personalizados de línea de comandos para iniciar el backend (por ejemplo, --cpu). Requiere reinicio."
},
"Comfy-Desktop_SendStatistics": {
"name": "Enviar métricas de uso anónimas"
},

View File

@@ -2,6 +2,10 @@
"Comfy-Desktop_AutoUpdate": {
"name": "Vérifier automatiquement les mises à jour"
},
"Comfy-Desktop_LaunchOptions": {
"name": "Arguments de lancement personnalisés",
"tooltip": "Arguments de ligne de commande personnalisés pour lancer le backend (par exemple, --cpu). Nécessite un redémarrage."
},
"Comfy-Desktop_SendStatistics": {
"name": "Envoyer des métriques d'utilisation anonymes"
},

View File

@@ -2,6 +2,10 @@
"Comfy-Desktop_AutoUpdate": {
"name": "自動的に更新を確認する"
},
"Comfy-Desktop_LaunchOptions": {
"name": "カスタム起動引数",
"tooltip": "バックエンドを起動するためのカスタムコマンドライン引数(例: --cpu。再起動が必要です。"
},
"Comfy-Desktop_SendStatistics": {
"name": "匿名の使用統計を送信する"
},

View File

@@ -2,6 +2,10 @@
"Comfy-Desktop_AutoUpdate": {
"name": "자동 업데이트 확인"
},
"Comfy-Desktop_LaunchOptions": {
"name": "사용자 지정 실행 인수",
"tooltip": "백엔드 실행을 위한 사용자 지정 명령줄 인수입니다(예: --cpu). 재시작이 필요합니다."
},
"Comfy-Desktop_SendStatistics": {
"name": "익명 사용 통계 보내기"
},

View File

@@ -2,6 +2,10 @@
"Comfy-Desktop_AutoUpdate": {
"name": "Автоматически проверять обновления"
},
"Comfy-Desktop_LaunchOptions": {
"name": "Пользовательские параметры запуска",
"tooltip": "Пользовательские аргументы командной строки для запуска backend (например, --cpu). Требуется перезапуск."
},
"Comfy-Desktop_SendStatistics": {
"name": "Отправлять анонимную статистику использования"
},

View File

@@ -2,6 +2,10 @@
"Comfy-Desktop_AutoUpdate": {
"name": "自动检查更新"
},
"Comfy-Desktop_LaunchOptions": {
"name": "自定义启动参数",
"tooltip": "用于启动后端的自定义命令行参数(例如:--cpu。需要重启。"
},
"Comfy-Desktop_SendStatistics": {
"name": "发送匿名使用情况统计"
},

View File

@@ -450,6 +450,7 @@ const zSettings = z.object({
'Comfy.TutorialCompleted': z.boolean(),
'Comfy.Node.AllowImageSizeDraw': z.boolean(),
'Comfy-Desktop.AutoUpdate': z.boolean(),
'Comfy-Desktop.LaunchOptions': z.string(),
'Comfy-Desktop.SendStatistics': z.boolean(),
'Comfy-Desktop.WindowStyle': z.string(),
'Comfy-Desktop.UV.PythonInstallMirror': z.string(),