26 lines
1.2 KiB
Ruby
26 lines
1.2 KiB
Ruby
cask 'jabref' do
|
|
version '4.1'
|
|
sha256 'f22108d6bda73978a51ca5759dd2a46619678427f3d9154e55f935004fa93751'
|
|
|
|
# github.com/JabRef/jabref was verified as official when first introduced to the cask
|
|
url "https://github.com/JabRef/jabref/releases/download/v#{version}/JabRef_macos_#{version.dots_to_underscores}.dmg"
|
|
appcast 'https://github.com/JabRef/jabref/releases.atom',
|
|
checkpoint: 'b6c57f7f4d664af53f25a39d33ec06140eb4418da209ab3a49ea7230761fef8f'
|
|
name 'JabRef'
|
|
homepage 'https://www.jabref.org/'
|
|
|
|
installer script: {
|
|
executable: 'JabRef Installer.app/Contents/MacOS/JavaApplicationStub',
|
|
args: [
|
|
'-q',
|
|
'-VcreateDesktopLinkAction$Boolean=false',
|
|
'-VaddToDockAction$Boolean=false',
|
|
'-VshowFileAction$Boolean=false',
|
|
'-Vsys.installationDir=/Applications',
|
|
'-VexecutionLauncherAction$Boolean=false',
|
|
],
|
|
}
|
|
|
|
uninstall delete: '/Applications/JabRef.app'
|
|
end
|