diff --git a/public/assets/images/sad_girl.png b/public/assets/images/sad_girl.png new file mode 100644 index 000000000..2b0925a63 Binary files /dev/null and b/public/assets/images/sad_girl.png differ diff --git a/src/locales/en.ts b/src/locales/en.ts index 0e09a24c4..c5cb9f928 100644 --- a/src/locales/en.ts +++ b/src/locales/en.ts @@ -3,6 +3,16 @@ export default { title: 'Welcome to ComfyUI', getStarted: 'Get Started' }, + notSupported: { + title: 'Your device is not supported', + message: 'Only following devices are supported:', + learnMore: 'Learn More', + reportIssue: 'Report Issue', + supportedDevices: { + macos: 'MacOS (M1 or later)', + windows: 'Windows (Nvidia GPU with CUDA support)' + } + }, install: { installLocation: 'Install Location', migration: 'Migration', diff --git a/src/router.ts b/src/router.ts index 6a5632f43..86d4f117c 100644 --- a/src/router.ts +++ b/src/router.ts @@ -57,6 +57,12 @@ const router = createRouter({ name: 'WelcomeView', component: () => import('@/views/WelcomeView.vue'), beforeEnter: guardElectronAccess + }, + { + path: 'not-supported', + name: 'NotSupportedView', + component: () => import('@/views/NotSupportedView.vue'), + beforeEnter: guardElectronAccess } ] } diff --git a/src/views/NotSupportedView.vue b/src/views/NotSupportedView.vue new file mode 100644 index 000000000..4f07c64a0 --- /dev/null +++ b/src/views/NotSupportedView.vue @@ -0,0 +1,62 @@ + + +