active morelocale

This commit is contained in:
karl.hudgell 2020-04-27 12:24:32 +01:00
parent f531e0641f
commit 7899d50a30

View File

@ -68,7 +68,7 @@ module.exports = {
} }
}); });
} else { } else {
await shellExec('./adb install -r ' + element).then(function (result) { await shellExec('./adb install -r ' + element).then(async function (result) {
console.log(element + ' - ' + result.stdout); console.log(element + ' - ' + result.stdout);
if (element === "data\\apps\\MoreLocale.apk") { if (element === "data\\apps\\MoreLocale.apk") {
await shellExec('./adb shell pm grant jp.co.c_lis.ccl.morelocale android.permission.CHANGE_CONFIGURATION').then(function (result) { await shellExec('./adb shell pm grant jp.co.c_lis.ccl.morelocale android.permission.CHANGE_CONFIGURATION').then(function (result) {
@ -76,14 +76,13 @@ module.exports = {
}); });
} }
}); });
});
} }
} }
console.log(chalk.green('Compatible Apps Installed')) console.log(chalk.green('Compatible Apps Installed'))
await common.pause(2000) await common.pause(2000)
module.exports.mainMenu() module.exports.mainMenu()
}, },
removeApps: async () => { removeApps: async () => {
common.header('Remove Apps') common.header('Remove Apps')
const value = await inquirer.removeAppsList(); const value = await inquirer.removeAppsList();
for (let element of value.removeAppsList) { for (let element of value.removeAppsList) {