Skip to content

Commit 8d901b8

Browse files
committed
put OSX Arduino in the Arduino.app directory, since it's particular about that
1 parent e897a46 commit 8d901b8

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

lib/arduino_ci/arduino_downloader_osx.rb

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,12 @@ def extracted_file
1717
"Arduino.app"
1818
end
1919

20+
# @return [String] The location where a forced install will go
21+
def self.force_install_location
22+
# include the .app extension
23+
File.join(ENV['HOME'], 'Arduino.app')
24+
end
25+
2026
# An existing Arduino directory in one of the given directories, or nil
2127
# @param Array<string> a list of places to look
2228
# @return [string]

0 commit comments

Comments
 (0)