ios-sim-portable
Advanced tools
Comparing version 4.0.4 to 4.0.5
@@ -11,2 +11,3 @@ "use strict"; | ||
const childProcess = require("./child-process"); | ||
const child_process = require("child_process"); | ||
const errors = require("./errors"); | ||
@@ -156,3 +157,3 @@ const common = require("./iphone-simulator-common"); | ||
const logFilePath = path.join(osenv.home(), "Library", "Logs", "CoreSimulator", deviceId, "system.log"); | ||
this.deviceLogChildProcess = childProcess.spawn("tail", ['-f', '-n', '1', logFilePath]); | ||
this.deviceLogChildProcess = child_process.spawn("tail", ['-f', '-n', '1', logFilePath]); | ||
fulfillSafe(); | ||
@@ -159,0 +160,0 @@ } |
@@ -14,2 +14,3 @@ "use strict"; | ||
const _ = require("lodash"); | ||
const fs = require("fs"); | ||
class Simctl { | ||
@@ -53,3 +54,4 @@ launch(deviceId, appIdentifier, options) { | ||
try { | ||
return yield this.spawnAsync("get_app_container", [deviceId, appIdentifier]); | ||
const appContainerPath = yield this.spawnAsync("get_app_container", [deviceId, appIdentifier]); | ||
return fs.existsSync(appContainerPath) ? appContainerPath : null; | ||
} | ||
@@ -56,0 +58,0 @@ catch (e) { |
{ | ||
"name": "ios-sim-portable", | ||
"version": "4.0.4", | ||
"version": "4.0.5", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "./lib/ios-sim.js", |
54186
952
7
3