diff --git a/src/locales/en/main.json b/src/locales/en/main.json index fd1d0571c8..3b144913cf 100644 --- a/src/locales/en/main.json +++ b/src/locales/en/main.json @@ -759,5 +759,10 @@ "doNotAskAgain": "Don't show this again", "missingModels": "Missing Models", "missingModelsMessage": "When loading the graph, the following models were not found" + }, + "desktopUpdate": { + "title": "Updating ComfyUI Desktop", + "description": "ComfyUI Desktop is installing new dependencies. This may take a few minutes.", + "terminalDefaultMessage": "Any console output from the update will be shown here." } } \ No newline at end of file diff --git a/src/locales/fr/main.json b/src/locales/fr/main.json index 5fd1693061..06b97fbb9f 100644 --- a/src/locales/fr/main.json +++ b/src/locales/fr/main.json @@ -81,6 +81,11 @@ "quit": "Quitter", "reinstall": "Réinstaller" }, + "desktopUpdate": { + "description": "ComfyUI Desktop installe de nouvelles dépendances. Cela peut prendre quelques minutes.", + "terminalDefaultMessage": "Toute sortie de console de la mise à jour sera affichée ici.", + "title": "Mise à jour de ComfyUI Desktop" + }, "downloadGit": { "gitWebsite": "Télécharger git", "instructions": "Veuillez télécharger et installer la dernière version pour votre système d'exploitation. Le bouton Télécharger git ci-dessous ouvre la page de téléchargement de git-scm.com.", diff --git a/src/locales/ja/main.json b/src/locales/ja/main.json index c9dd754fa8..7a988411da 100644 --- a/src/locales/ja/main.json +++ b/src/locales/ja/main.json @@ -81,6 +81,11 @@ "quit": "終了", "reinstall": "再インストール" }, + "desktopUpdate": { + "description": "ComfyUIデスクトップは新しい依存関係をインストールしています。これには数分かかる場合があります。", + "terminalDefaultMessage": "更新からの任意のコンソール出力はここに表示されます。", + "title": "ComfyUIデスクトップの更新" + }, "downloadGit": { "gitWebsite": "Gitをダウンロード", "instructions": "お使いのオペレーティングシステムに最新バージョンをダウンロードしてインストールしてください。以下の「Gitをダウンロード」ボタンをクリックすると、git-scm.comのダウンロードページが開きます。", diff --git a/src/locales/ko/main.json b/src/locales/ko/main.json index b9e666a632..b3ffc8a3d4 100644 --- a/src/locales/ko/main.json +++ b/src/locales/ko/main.json @@ -81,6 +81,11 @@ "quit": "종료", "reinstall": "재설치" }, + "desktopUpdate": { + "description": "ComfyUI 데스크톱은 새로운 종속성을 설치하고 있습니다. 이 작업은 몇 분 정도 걸릴 수 있습니다.", + "terminalDefaultMessage": "업데이트로부터의 콘솔 출력은 여기에 표시됩니다.", + "title": "ComfyUI 데스크톱 업데이트 중" + }, "downloadGit": { "gitWebsite": "git 프로그램 다운로드", "instructions": "운영 체제에 맞는 최신 버전을 다운로드하여 설치하십시오. 아래의 'git 프로그램 다운로드' 버튼을 클릭하면 git-scm.com 다운로드 페이지가 열립니다.", diff --git a/src/locales/ru/main.json b/src/locales/ru/main.json index 05c979f92c..9d2f9ab666 100644 --- a/src/locales/ru/main.json +++ b/src/locales/ru/main.json @@ -81,6 +81,11 @@ "quit": "Выйти", "reinstall": "Переустановить" }, + "desktopUpdate": { + "description": "ComfyUI Desktop устанавливает новые зависимости. Это может занять несколько минут.", + "terminalDefaultMessage": "Любой вывод консоли из обновления будет отображаться здесь.", + "title": "Обновление ComfyUI Desktop" + }, "downloadGit": { "gitWebsite": "Скачать git", "instructions": "Пожалуйста, скачайте и установите последнюю версию для вашей операционной системы. Кнопка «Скачать git» ниже открывает страницу загрузок git-scm.com.", diff --git a/src/locales/zh/main.json b/src/locales/zh/main.json index 95406e98ac..dde617ba06 100644 --- a/src/locales/zh/main.json +++ b/src/locales/zh/main.json @@ -81,6 +81,11 @@ "quit": "退出", "reinstall": "重新安装" }, + "desktopUpdate": { + "description": "ComfyUI桌面正在安装新的依赖项。这可能需要几分钟的时间。", + "terminalDefaultMessage": "更新过程中的任何控制台输出都将在这里显示。", + "title": "正在更新ComfyUI桌面" + }, "downloadGit": { "gitWebsite": "下载 git", "instructions": "请下载并安装适合您操作系统的最新版本。下面的下载 git 按钮将打开 git-scm.com 下载页面。", diff --git a/src/router.ts b/src/router.ts index a5de92df55..1d15ec5200 100644 --- a/src/router.ts +++ b/src/router.ts @@ -110,6 +110,12 @@ const router = createRouter({ name: 'MaintenanceView', component: () => import('@/views/MaintenanceView.vue'), beforeEnter: guardElectronAccess + }, + { + path: 'desktop-update', + name: 'DesktopUpdateView', + component: () => import('@/views/DesktopUpdate.vue'), + beforeEnter: guardElectronAccess } ] } diff --git a/src/views/DesktopStartView.vue b/src/views/DesktopStartView.vue index 63025cd66b..9c66cad56d 100644 --- a/src/views/DesktopStartView.vue +++ b/src/views/DesktopStartView.vue @@ -1,13 +1,11 @@ diff --git a/src/views/DesktopUpdate.vue b/src/views/DesktopUpdate.vue new file mode 100644 index 0000000000..f00105ad09 --- /dev/null +++ b/src/views/DesktopUpdate.vue @@ -0,0 +1,122 @@ + + + + +