From 43e2e2bae964701e55f12fb59ac4007eccae2018 Mon Sep 17 00:00:00 2001 From: Mitscherlich Date: Tue, 26 Feb 2019 16:52:00 +0800 Subject: [PATCH] Add Motrix.app v1.1.3 --- Casks/motrix.rb | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Casks/motrix.rb diff --git a/Casks/motrix.rb b/Casks/motrix.rb new file mode 100644 index 000000000000..c176fa081807 --- /dev/null +++ b/Casks/motrix.rb @@ -0,0 +1,20 @@ +cask 'motrix' do + version '1.1.3' + sha256 '489c924c6c850a3a60943f180256ff30eeacfdd73f4773f0da861d5fc99c1792' + + # github.com was verified as official when first introduced to the cask + url "https://github.com/agalwood/Motrix/releases/download/v#{version}/Motrix-#{version}.dmg" + appcast 'https://github.com/agalwood/Motrix/releases.atom' + name 'Motrix' + homepage 'https://motrix.app/' + + app 'Motrix.app' + + zap trash: [ + '~/Library/Application Support/Motrix', + '~/Library/Preferences/net.agalwood.Motrix.plist', + '~/Library/Saved Application State/net.agalwood.Motrix.savedState', + '~/Library/Logs/Motrix', + '~/Library/Caches/net.agalwood.Motrix', + ] +end