class SynologyCloudStation < Cask
  version '3111'
  sha256 '562c683719f42881662e97cbfaeb2c7ed22c140e8ef2bbae6db3ffbf57328988'

  url "https://global.download.synology.com/download/Tools/CloudStation/#{version}/Mac/CloudStation-#{version}-Mac-Installer.dmg"
  homepage 'http://www.synology.com/'
  license :unknown

  pkg "CloudStation-#{version}-Mac-Installer.pkg"
  uninstall :pkgutil => 'synology.cloudstation.installer',
            :launchctl => 'com.synology.Synology Cloud Station'
end

class SynologyCloudStation < Cask
  version '3317'
  sha256 'd3305b5f2b4d47cf84e18cdbdb86a58578bff396fbe4664c4c778745098a362d'

  url "https://global.download.synology.com/download/Tools/CloudStation/#{version}/Mac/synology-cloud-station-#{version}.dmg"
  homepage 'http://www.synology.com/'
  license :unknown

  pkg "synology-cloud-station-#{version}.pkg"
  uninstall :pkgutil => 'com.synology.CloudStation',
            :launchctl => 'com.synology.Synology Cloud Station'
end

Update Synology Cloud Station to 3317
Update Synology Cloud Station to 3317
