Skip to content

Commit

Permalink
demo
Browse files Browse the repository at this point in the history
  • Loading branch information
ianfixes committed Aug 9, 2018
1 parent 22dffb7 commit a04d518
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions lib/arduino_ci/display_manager.rb
Expand Up @@ -33,11 +33,7 @@ def initialize
# attempt to determine if the machine is running a graphical display (i.e. not Travis)
# @return [bool] whether there is already a GUI that can accept windows
def existing_display?
return true if RUBY_PLATFORM.include? "darwin"
return true if Host.os == :windows
return false if ENV["DISPLAY"].nil?
return true if ENV["DISPLAY"].include? ":"
false
true
end

# check whether a process is alive
Expand Down

0 comments on commit a04d518

Please sign in to comment.