activate moreLocale
This commit is contained in:
parent
4ce21de180
commit
f531e0641f
@ -59,12 +59,23 @@ module.exports = {
|
||||
for (let element of apkList) {
|
||||
console.log('Installing ' + element)
|
||||
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);
|
||||
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 {
|
||||
await shellExec('./adb install -r ' + element).then(function (result) {
|
||||
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');
|
||||
});
|
||||
}
|
||||
});
|
||||
});
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user