Skip to content
This repository was archived by the owner on Mar 29, 2021. It is now read-only.

Commit 2696be9

Browse files
committed
Fix wrong paths on Windows. Fixes #44
1 parent 17b1eb1 commit 2696be9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/adapters/iosAdapter.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ export class IOSAdapter extends AdapterCollection {
146146
private static getProxyPath(): Promise<string> {
147147
return new Promise((resolve, reject) => {
148148
if (os.platform() === 'win32') {
149-
const proxy = path.resolve(__dirname, '../../../../node_modules/vs-libimobile/lib/ios_webkit_debug_proxy.exe');
149+
const proxy = path.resolve(__dirname, '../../node_modules/vs-libimobile/lib/ios_webkit_debug_proxy.exe');
150150
try {
151151
fs.statSync(proxy);
152152
resolve(proxy)
@@ -168,7 +168,7 @@ export class IOSAdapter extends AdapterCollection {
168168
private static getDeviceInfoPath(): Promise<string> {
169169
return new Promise((resolve, reject) => {
170170
if (os.platform() === 'win32') {
171-
const proxy = path.resolve(__dirname, '../../../../node_modules/vs-libimobile/lib/ideviceinfo.exe');
171+
const proxy = path.resolve(__dirname, '../../node_modules/vs-libimobile/lib/ideviceinfo.exe');
172172
try {
173173
fs.statSync(proxy);
174174
resolve(proxy);

0 commit comments

Comments
 (0)