23 lines
918 B
Ruby
23 lines
918 B
Ruby
cask 'asciidocfx' do
|
|
version '1.7.2'
|
|
sha256 'ad0fa55a7ee8fb5316ca24255bd31549a42f1ba4dd50d382871053991b2ceb0a'
|
|
|
|
# github.com/asciidocfx/AsciidocFX/ was verified as official when first introduced to the cask
|
|
url "https://github.com/asciidocfx/AsciidocFX/releases/download/v#{version}/AsciidocFX_Mac.dmg"
|
|
appcast 'https://github.com/asciidocfx/AsciidocFX/releases.atom'
|
|
name 'AsciidocFX'
|
|
homepage 'https://www.asciidocfx.com/'
|
|
|
|
installer script: {
|
|
executable: 'AsciidocFX Installer.app/Contents/MacOS/JavaApplicationStub',
|
|
args: ['-q'],
|
|
sudo: true,
|
|
}
|
|
|
|
uninstall script: {
|
|
executable: '/Applications/AsciidocFX/AsciidocFX Uninstaller.app/Contents/MacOS/JavaApplicationStub',
|
|
args: ['-q'],
|
|
sudo: true,
|
|
}
|
|
end
|