-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
303fa81
commit 042109d
Showing
1 changed file
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |