Skip to content

Commit

Permalink
update submodule
Browse files Browse the repository at this point in the history
  • Loading branch information
saikrishna321 committed Mar 19, 2024
1 parent ba1c0be commit dc242e2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules
2 changes: 2 additions & 0 deletions src/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ import * as https from 'https';
import fs from 'fs';
// import { runAndroidAdbServer } from './device-managers/AdbServer';
import { getStreamingServer } from './streaming-server';
import { sleep } from 'asyncbox';

const commandsQueueGuard = new AsyncLock();
const DEVICE_MANAGER_LOCK_NAME = 'DeviceManager';
Expand Down Expand Up @@ -247,6 +248,7 @@ class DevicePlugin extends BasePlugin {
devices.map(async (device) => {
try {
const selectedDevice = client.getDevice(device.id);
await selectedDevice.uninstall('com.device.farm');
await selectedDevice.install(apk);
console.log(`Installed ${apk} on device ${device.id}`);
} catch (installError: any) {
Expand Down

0 comments on commit dc242e2

Please sign in to comment.