moved hash check and token download to main thread

This commit is contained in:
Shane Harris
2020-08-17 13:31:48 +01:00
committed by Your Name
parent ef163b2335
commit 7aab6ec072
6 changed files with 621 additions and 245 deletions
+6
View File
@@ -294,6 +294,12 @@ function setupApp() {
}
};
switch (arg.command) {
case 'installFromToken':
adb.installFromToken(arg.settings.token, success, reject);
break;
case 'hashCheck':
adb.hashCheckFile(arg.settings.path, success, status, reject);
break;
case 'setupAdb':
adb.setupAdb(arg.settings.adbPath, success, reject);
break;