Merge branch 'albertoLocale' of Karl/MiWatchKleaner into master
This commit is contained in:
commit
ca11c8ac35
1
.gitignore
vendored
1
.gitignore
vendored
@ -4,3 +4,4 @@ data/apps/*.apk
|
|||||||
release/
|
release/
|
||||||
data/*.log
|
data/*.log
|
||||||
logger.lock
|
logger.lock
|
||||||
|
logger.lock
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
"pid": 26780
|
"pid": 26780
|
||||||
},
|
},
|
||||||
"RunTIme": {
|
"RunTIme": {
|
||||||
"startTime": 1588233573984,
|
"startTime": 1592986481974,
|
||||||
"pid": 17884
|
"pid": 25068
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -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