This commit is contained in:
Shane Harris
2020-08-17 13:31:48 +01:00
committed by Your Name
parent 21b6fca8b9
commit ad8b218d96
2 changed files with 4 additions and 2 deletions
Binary file not shown.
+4 -2
View File
@@ -243,9 +243,11 @@ export class AppService {
});
if (this.os.platform() === 'darwin' || this.os.platform() === 'linux') {
console.log(this.path.join(this.appData, 'platform-tools', 'adb'));
this.setExecutable(this.path.join(this.appData, 'platform-tools', 'adb')).then(() => resolve());
this.setExecutable(this.path.join(this.appData, 'platform-tools', 'adb')).then(() =>
setTimeout(() => resolve(), 5000)
);
} else {
return resolve();
setTimeout(() => resolve(), 5000);
}
} catch (e) {}
}