Module: Cask::Appcast Private

Extended by:
SystemCommand::Mixin
Defined in:
cask/appcast.rb

Overview

This module is part of a private API. This module may only be used in the Homebrew/brew repository. Third parties should avoid using this module if possible, as it may be removed or changed without warning.

Discovers the appcast of an app bundle, for use in a cask livecheck block.

Checks for a Sparkle SUFeedURL and Electron Builder update metadata.

Defined Under Namespace

Classes: Result

Class Method Summary collapse

Methods included from SystemCommand::Mixin

system_command, system_command!

Class Method Details

.find(app) ⇒ Result?

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

Parameters:

Returns:



21
22
23
# File 'cask/appcast.rb', line 21

def self.find(app)
  find_sparkle(app) || find_electron_builder(app)
end