From e930eb5967d27090edbd59c4a1073c9b73e368a3 Mon Sep 17 00:00:00 2001 From: josc146 Date: Sun, 9 Jul 2023 12:18:51 +0800 Subject: [PATCH] extra vc check --- frontend/src/utils/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/utils/index.tsx b/frontend/src/utils/index.tsx index 92ca07a..917a9ed 100644 --- a/frontend/src/utils/index.tsx +++ b/frontend/src/utils/index.tsx @@ -366,7 +366,7 @@ export const checkDependencies = async (navigate: NavigateFunction) => { AddToDownloadList('python-3.10.11-embed-amd64.zip', 'https://www.python.org/ftp/python/3.10.11/python-3.10.11-embed-amd64.zip'); }); } else if (depErrorMsg.includes('DepCheck Error')) { - if (depErrorMsg.includes('vc_redist')) { + if (depErrorMsg.includes('vc_redist') || depErrorMsg.includes('DLL load failed while importing')) { toastWithButton(t('Microsoft Visual C++ Redistributable is not installed, would you like to download it?'), t('Download'), () => { BrowserOpenURL('https://aka.ms/vs/16/release/vc_redist.x64.exe'); });