quick fix

This commit is contained in:
karl.hudgell 2020-08-29 22:00:13 +01:00
parent a2cb5a7a49
commit e87f89cc5d
2 changed files with 2 additions and 2 deletions

View File

@ -74,7 +74,7 @@ module.exports = {
}, },
restoreAnyApk: async (package) => { restoreAnyApk: async (package) => {
Language.setActiveLang(globalVariables.language) Language.setActiveLang(globalVariables.language)
result = await shellExec(adbRun + ' shell cmd package install-existing ' + package.restoreAnyApp) result = await shellExec(adbRun + ' shell cmd package install-existing ' + package.removeAnyApp)
if (result.stderr != '') { if (result.stderr != '') {
common.dualLog('device-not-authorised' + ' ' + result.stderr, 'red') common.dualLog('device-not-authorised' + ' ' + result.stderr, 'red')
} else if (result.stdout.includes('doesn\'t exist')) { } else if (result.stdout.includes('doesn\'t exist')) {