mirror of
https://github.com/zhigang1992/RubyMotion.git
synced 2026-04-11 11:39:09 +08:00
fix path
This commit is contained in:
@@ -36,7 +36,7 @@ module Motion; class Command
|
||||
self.summary = 'Print iOS device logs'
|
||||
|
||||
def run
|
||||
deploy = File.join(File.dirname(__FILE__), '../../../../bin/ios/deploy')
|
||||
deploy = File.join(File.dirname(__FILE__), '../../../bin/ios/deploy')
|
||||
devices = `\"#{deploy}\" -D`.strip.split(/\n/)
|
||||
if devices.empty?
|
||||
$stderr.puts "No device found on USB. Connect a device and try again."
|
||||
|
||||
Reference in New Issue
Block a user