still remove apps

This commit is contained in:
karl.hudgell 2020-04-27 12:41:12 +01:00
parent 89eee84a1f
commit d511b63f34

View File

@ -39,9 +39,7 @@ module.exports = {
const value = await inquirer.compatibleApps(); const value = await inquirer.compatibleApps();
const apkList = await getFilesIn('./data/apps', matchFiletypes = ['apk'], checkSubDirectories = false) for (let element of value.removeAppsList) {
for (let element of apkList) {
console.log('Installing ' + element) console.log('Installing ' + element)
if (process.platform === 'win32' || process.platform === 'win64') { if (process.platform === 'win32' || process.platform === 'win64') {
await shellExec('adb install -r ' + element).then(async function (result) { await shellExec('adb install -r ' + element).then(async function (result) {