@srmorete/mobile-device-mcp 0.1.0 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "name": "@srmorete/mobile-device-mcp",
3
- "version": "0.1.0",
3
+ "mcpName": "io.github.srmorete/mobile-device-mcp",
4
+ "version": "0.1.2",
4
5
  "description": "An MCP server to control iOS and Android devices — Native and WebView, multi-device",
5
6
  "license": "MIT",
6
7
  "repository": {
@@ -24,7 +24,7 @@ const HEALTH_POLL_INTERVAL = 500;
24
24
  const HEALTH_TIMEOUT = 45_000;
25
25
 
26
26
  // Drivers root relative to project
27
- const PROJECT_ROOT = join(import.meta.dir, "..", "..");
27
+ const PROJECT_ROOT = join(import.meta.dirname ?? import.meta.dir, "..", "..");
28
28
  const DRIVERS_ANDROID = join(PROJECT_ROOT, "drivers", "android");
29
29
  const DRIVERS_IOS_SIM = join(PROJECT_ROOT, "drivers", "ios");
30
30
  const DRIVERS_IOS_DEVICE = join(PROJECT_ROOT, "drivers", "ios-device");