diff --git a/src/index.ts b/src/index.ts index f1c05a0..0e1e3e1 100644 --- a/src/index.ts +++ b/src/index.ts @@ -5,7 +5,7 @@ import { delay, getDeferred, CustomError } from '@httptoolkit/util'; import { readBytes } from './stream-utils'; const DEFAULT_ADDRESS = process.platform === 'win32' - ? { port: 27015 } + ? { port: 27015, autoSelectFamily: true } : { path: '/var/run/usbmuxd' }; const CLIENT_VERSION = 'usbmux-client';