diff --git a/public/assets/images/Git-Logo-White.svg b/public/assets/images/Git-Logo-White.svg
new file mode 100644
index 000000000..f2961b944
--- /dev/null
+++ b/public/assets/images/Git-Logo-White.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/src/locales/en.ts b/src/locales/en.ts
index fa6028987..017ea3de4 100644
--- a/src/locales/en.ts
+++ b/src/locales/en.ts
@@ -20,6 +20,17 @@ export default {
windows: 'Windows (Nvidia GPU with CUDA support)'
}
},
+ downloadGit: {
+ title: 'Download git',
+ message:
+ 'Unable to locate git. A working copy of git is required for normal operation.',
+ instructions:
+ 'Please download and install the latest version for your operating system. The Download git button below opens the git-scm.com downloads page.',
+ warning:
+ 'If you are sure you do not need git installed, or there has been a mistake, you may click Skip to byapss this check. Attempting to run ComfyUI without a working copy of git is not currently supported.',
+ gitWebsite: 'Download git',
+ skip: 'Skip'
+ },
install: {
installLocation: 'Install Location',
migration: 'Migration',
diff --git a/src/router.ts b/src/router.ts
index e1afb5a91..39bad89b3 100644
--- a/src/router.ts
+++ b/src/router.ts
@@ -78,6 +78,12 @@ const router = createRouter({
name: 'NotSupportedView',
component: () => import('@/views/NotSupportedView.vue'),
beforeEnter: guardElectronAccess
+ },
+ {
+ path: 'download-git',
+ name: 'DownloadGitView',
+ component: () => import('@/views/DownloadGitView.vue'),
+ beforeEnter: guardElectronAccess
}
]
}
diff --git a/src/views/DownloadGitView.vue b/src/views/DownloadGitView.vue
new file mode 100644
index 000000000..720eaeb27
--- /dev/null
+++ b/src/views/DownloadGitView.vue
@@ -0,0 +1,63 @@
+
+