Skip to content

Commit

Permalink
Add Expressionist
Browse files Browse the repository at this point in the history
  • Loading branch information
danielbayley committed Mar 3, 2018
1 parent 303fa81 commit 042109d
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions Casks/expressionist.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
cask 'expressionist' do
version :latest
sha256 :no_check

# aescripts.com was verified as official when first introduced to the cask
url 'https://aescripts.com/downloadable/download/sample/sample_id/411',
user_agent: :fake
name 'Expressionist'
homepage 'http://klustre.nl/expressionist'

depends_on formula: 'exmancmd'

postflight do
zxp = Dir["#{staged_path}/Expressionist */Mac/Expressionist-*.zxp"][0]
system_command "#{HOMEBREW_PREFIX}/bin/exmancmd", args: ['--install', zxp]
end

uninstall script: {
executable: "#{HOMEBREW_PREFIX}/bin/exmancmd",
args: ['--remove', 'Expressionist'],
}

zap delete: '~/Library/Preferences/com.aescripts.Expressionist.lic'

caveats "A license can be purchased at https://aescripts.com/#{token}."
end

0 comments on commit 042109d

Please sign in to comment.