activate moreLocale
This commit is contained in:
parent
4ce21de180
commit
f531e0641f
@ -59,20 +59,31 @@ module.exports = {
|
|||||||
for (let element of apkList) {
|
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(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") {
|
||||||
|
await shellExec('adb shell pm grant jp.co.c_lis.ccl.morelocale android.permission.CHANGE_CONFIGURATION').then(function (result) {
|
||||||
|
console.log('moreLocale Activated On Watch');
|
||||||
|
});
|
||||||
|
}
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
await shellExec('./adb install -r ' + element).then(function (result) {
|
await shellExec('./adb install -r ' + element).then(function (result) {
|
||||||
console.log(element + ' - ' + result.stdout);
|
console.log(element + ' - ' + result.stdout);
|
||||||
|
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) {
|
||||||
|
console.log('moreLocale Activated On Watch');
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
});
|
||||||
|
});
|
||||||
}
|
}
|
||||||
console.log(chalk.green('Compatible Apps Installed'))
|
}
|
||||||
await common.pause(2000)
|
console.log(chalk.green('Compatible Apps Installed'))
|
||||||
module.exports.mainMenu()
|
await common.pause(2000)
|
||||||
},
|
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) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user