def download
      # Turned off ssl verification
      # This should be acceptable because it won't happen on a user's machine, just CI
      open(URI.parse(package_url), ssl_verify_mode: 0) do |url|
        File.open(package_file, 'wb') { |file| file.write(url.read) }
      end
    rescue Net::OpenTimeout, Net::ReadTimeout, OpenURI::HTTPError, URI::InvalidURIError => e
      @output.puts "\nArduino force-install failed downloading #{package_url}: #{e}"
    end
def download
      # Turned off ssl verification
      # This should be acceptable because it won't happen on a user's machine, just CI
      open(URI.parse(package_url), ssl_verify_mode: 0) do |url|
        File.open(package_file, 'wb') { |file| file.write(url.read) }
      end
    rescue Net::OpenTimeout, Net::ReadTimeout, OpenURI::HTTPError, URI::InvalidURIError => e
      @output.puts "\nArduino force-install failed downloading #{package_url}: #{e}"
    end
Download the package_url to package_file
 @return [bool] whether successful