diff --git a/app/ios.js b/app/ios.js index 060f896a4..b64dd1ae0 100644 --- a/app/ios.js +++ b/app/ios.js @@ -199,14 +199,13 @@ IOS.prototype.start = function(cb, onDie) { }; if (this.instruments === null) { - var mydirname = __dirname; var createInstruments = function(cb) { logger.debug("Creating instruments"); me.instruments = instruments( me.app || me.bundleId , me.udid - , path.resolve(mydirname, 'uiauto/bootstrap.js') - , path.resolve(mydirname, 'uiauto/Automation.tracetemplate') + , path.resolve(__dirname, 'uiauto/bootstrap.js') + , path.resolve(__dirname, 'uiauto/Automation.tracetemplate') , sock , me.withoutDelay , onLaunch diff --git a/sample-code/examples/simple_real_device.py b/sample-code/examples/python/simple_real_device.py similarity index 100% rename from sample-code/examples/simple_real_device.py rename to sample-code/examples/python/simple_real_device.py