cask :v1 => 'gog-downloader' do
  version '1.2_512'
  sha256 '353604a2123feacf438c6586b3ec20967dca637b0a97d36203adbc3e1dfdefce'

  url "http://static.gog.com/download/d3/mac-stable/GOG_Downloader_#{version}.zip"
  appcast 'https://api.gog.com/en/downloader2/status/mac-stable',
          :sha256 => '91f8021f41c170428d3ff18770356284c0239c8d8a47f2eccb2d5d1c222829c5'
  homepage 'http://www.gog.com/downloader'
  license :unknown    # todo: change license and remove this comment; ':unknown' is a machine-generated placeholder

  app 'GOG Downloader.app'
end

cask :v1 => 'gog-downloader' do
  version '1.2_512'
  sha256 '353604a2123feacf438c6586b3ec20967dca637b0a97d36203adbc3e1dfdefce'

  url "http://static.gog.com/download/d3/mac-stable/GOG_Downloader_#{version}.zip"
  appcast 'https://api.gog.com/en/downloader2/status/mac-stable',
          :sha256 => '91f8021f41c170428d3ff18770356284c0239c8d8a47f2eccb2d5d1c222829c5'
  name 'GOG Downloader'
  homepage 'http://www.gog.com/downloader'
  license :gratis
  tags :vendor => 'GOG'

  zap :delete => [
    '~/Library/Application Support/GOG Downloader',
    '~/Library/Caches/com.gog.downloader',
    '~/Library/Preferences/com.gog.downloader.plist',
    '~/Library/Saved Application State/com.gog.downloader.savedState'
  ]

  app 'GOG Downloader.app'
end

Add name, license, vendor and zap stanzas for GOG Downloader.app
Add name, license, vendor and zap stanzas for GOG Downloader.app
