mirror of
https://github.com/zhigang1992/RubyMotion.git
synced 2026-04-24 04:46:05 +08:00
merge contributions from github
This commit is contained in:
@@ -97,7 +97,7 @@ task :simulator => ['build:simulator'] do
|
||||
sim = File.join(App.config.bindir, 'sim')
|
||||
debug = (ENV['debug'] ? 1 : (App.config.spec_mode ? '0' : '2'))
|
||||
App.info 'Simulate', app
|
||||
at_exit { system("stty echo") } # Just in case the simulator launcher crashes and leaves the terminal without echo.
|
||||
at_exit { system("stty echo") } if $stdout.tty? # Just in case the simulator launcher crashes and leaves the terminal without echo.
|
||||
sh "#{env} #{sim} #{debug} #{family_int} #{target} \"#{xcode}\" \"#{app}\""
|
||||
end
|
||||
|
||||
|
||||
@@ -666,7 +666,7 @@ EOS
|
||||
dict['application-identifier'] ||= seed_id + '.' + identifier
|
||||
else
|
||||
# Required for gdb.
|
||||
dict['get-task-allow'] ||= true
|
||||
dict['get-task-allow'] = true if dict['get-task-allow'].nil?
|
||||
end
|
||||
Motion::PropertyList.to_s(dict)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user