2.0.5 AL
This commit is contained in:
parent
a2906b5a36
commit
b9edaeedc0
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "miwatchkleaner2.0",
|
"name": "miwatchkleaner2.0",
|
||||||
"version": "2.0.4",
|
"version": "2.0.5",
|
||||||
"description": "MiWatch Cleaning Tool",
|
"description": "MiWatch Cleaning Tool",
|
||||||
"main": "app.js",
|
"main": "app.js",
|
||||||
"bin": "app.js",
|
"bin": "app.js",
|
||||||
|
@ -122,10 +122,12 @@ module.exports = {
|
|||||||
}
|
}
|
||||||
console.log(element + ' - ' + result.stdout);
|
console.log(element + ' - ' + result.stdout);
|
||||||
logger.info(element + ' - ' + result.stdout);
|
logger.info(element + ' - ' + result.stdout);
|
||||||
if (element === "data\\apps\\MoreLocale.apk") {
|
|
||||||
await shellExec(adbRun + ' shell pm grant jp.co.c_lis.ccl.morelocale android.permission.CHANGE_CONFIGURATION').then(function (result) {
|
if (element === "data\\apps\\com.alberto.locale.apk") {
|
||||||
console.log('moreLocale Activated On Watch');
|
await shellExec(adbRun + ' shell pm grant com.alberto.locale android.permission.CHANGE_CONFIGURATION && ' + adbRun + ' shell am start -n com.alberto.locale/com.alberto.locale.MainActivity && ' + adbRun + ' shell pm grant com.alberto.locale android.permission.CHANGE_CONFIGURATION').then(function (result) {
|
||||||
logger.info('moreLocale Activated On Watch');
|
console.log(result)
|
||||||
|
console.log('Alberto Locale Activated On Watch');
|
||||||
|
logger.info('Alberto Locale Activated On Watch');
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user