Fix dependency installation on OS X

This commit is contained in:
Scott E. Graves
2019-04-06 07:43:46 -05:00
parent e410483a08
commit 4b5a0725bd
3 changed files with 15 additions and 10 deletions

View File

@@ -545,9 +545,11 @@ class App extends IPCContainer {
const ret = this.sendSyncRequest(Constants.IPC_Check_Dependency_Installed, {
File: dep.file,
});
if (ret.data.Exists || !ret.data.Success) {
if (ret.data.Exists) {
clearInterval(i);
this.checkVersionInstalled();
setTimeout(() => {
this.checkVersionInstalled();
}, 10000);
}
}, 3000);
};