lib/ruboto/util/emulator.rb in ruboto-0.16.0 vs lib/ruboto/util/emulator.rb in ruboto-1.0.0
- old
+ new
@@ -27,10 +27,10 @@
else
emulator_cmd = 'emulator-arm'
end
emulator_opts = '-partition-size 256'
- if !ON_WINDOWS && ENV['DISPLAY'].nil?
+ if !ON_MAC_OS_X && !ON_WINDOWS && ENV['DISPLAY'].nil?
emulator_opts << ' -no-window -no-audio'
end
avd_name = "Android_#{sdk_level_name(sdk_level)}"
new_snapshot = false