From dd79f4ab089b2886887b2b9746ead86faa714331 Mon Sep 17 00:00:00 2001 From: Alpha Chen Date: Wed, 4 Feb 2015 08:03:03 -0800 Subject: [PATCH] Add Popcorn Time cask --- Casks/popcorn-time.rb | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Casks/popcorn-time.rb diff --git a/Casks/popcorn-time.rb b/Casks/popcorn-time.rb new file mode 100644 index 0000000..79883f5 --- /dev/null +++ b/Casks/popcorn-time.rb @@ -0,0 +1,18 @@ +cask :v1 => 'popcorn-time' do + version '0.3.7-1' + sha256 'ef21b6db873ee173883390bfc83204aa28b869ee24545cc0b6706152f46710ed' + + url "https://cdn.popcorntime.io/build/Popcorn-Time-#{version.gsub('-', '.')}-Mac.dmg", :user_agent => :fake + appcast 'https://popcorntime.io/update.json', + :sha256 => 'a9bd0f4938c7bd1a8a3e42efa32eafa9a97f2b9100283b7a15a4fc5c6213cbc7', + :format => :unknown + name 'Popcorn Time' + homepage 'http://popcorntime.io/' + license :gpl + + app 'Popcorn-Time.app' + + uninstall :quit => ['com.intel.nw', 'com.intel.nw.helper'], + :delete => '/$TMPDIR$/Popcorn-Time' + zap :delete => '~/Library/Application Support/Popcorn-Time' +end