This commit is contained in:
josc146
2023-08-16 21:11:58 +08:00
parent ce986cfc6d
commit 74f1a1c033
6 changed files with 9 additions and 11 deletions

View File

@@ -373,7 +373,7 @@ export const checkDependencies = async (navigate: NavigateFunction) => {
});
} else {
toast(depErrorMsg, { type: 'info', position: 'bottom-left' });
if (commonStore.platform != 'linux')
if (commonStore.platform !== 'linux')
toastWithButton(t('Python dependencies are incomplete, would you like to install them?'), t('Install'), () => {
InstallPyDep(commonStore.settings.customPythonPath, commonStore.settings.cnMirror).catch((e) => {
const errMsg = e.message || e;