Fix dependency installation on OS X
This commit is contained in:
@@ -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);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user