parse_electron_builder_appcast: add support for generic (#70035)

This commit is contained in:
Vítor Galvão 2019-10-04 18:42:40 +01:00 committed by GitHub
parent 03f0fb4b23
commit ed6d7c58d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -11,6 +11,9 @@ def parse(app_path)
data = YAML.load_file appcast_url
case data["provider"]
when "generic"
url = data["url"]
puts "#{url}/latest-mac.yml"
when "github"
owner = data["owner"]
repo = data["repo"]