still remove apps
This commit is contained in:
		
							parent
							
								
									89eee84a1f
								
							
						
					
					
						commit
						d511b63f34
					
				@ -39,9 +39,7 @@ module.exports = {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
        const value = await inquirer.compatibleApps();
 | 
					        const value = await inquirer.compatibleApps();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        const apkList = await getFilesIn('./data/apps', matchFiletypes = ['apk'], checkSubDirectories = false)
 | 
					        for (let element of value.removeAppsList) {
 | 
				
			||||||
 | 
					 | 
				
			||||||
        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(async function (result) {
 | 
					                await shellExec('adb install -r ' + element).then(async function (result) {
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user