diff --git a/package.json b/package.json index dcd0de7..2ad6106 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@wtto00/android-tools", - "version": "1.0.3", + "version": "1.0.4", "description": "Node module for managing and controlling the Android Devices.", "type": "module", "main": "dist/lib/index.cjs", diff --git a/src/index.ts b/src/index.ts index a80e3b1..3c9d6f8 100644 --- a/src/index.ts +++ b/src/index.ts @@ -216,7 +216,7 @@ class Android { await retry(async () => { const proc = await this.adb(emulatorId, 'shell getprop sys.boot_completed'); return proc.output.trim() === '1'; - }, 100); + }, 1200); } /** @@ -271,7 +271,7 @@ class Android { await this.stop(emulatorId); const devices = await this.devices(); return !devices.some((device) => device.name === emulatorId && device.status === 'device'); - }, 100); + }, 1200); } /**