diff --git a/Casks/visual-paradigm-ce.rb b/Casks/visual-paradigm-ce.rb index 0a166025e..ce2643856 100644 --- a/Casks/visual-paradigm-ce.rb +++ b/Casks/visual-paradigm-ce.rb @@ -2,16 +2,10 @@ cask 'visual-paradigm-ce' do version '13.2,20161101' sha256 '365da7caed0765fc86a0fec105648268587abb162fd97d037c6fcea803a408aa' - url "https://eu6.visual-paradigm.com/visual-paradigm/vpce#{version.before_comma}/#{version.after_comma}/Visual_Paradigm_CE_#{version.dots_to_underscores.gsub(',', '_')}_OSX_WithJRE.dmg" + url "https://eu6.visual-paradigm.com/visual-paradigm/vpce#{version.before_comma}/#{version.after_comma}/Visual_Paradigm_CE_#{version.before_comma.dots_to_underscores}_#{version.after_comma}_OSX_WithJRE.dmg" name 'Visual Paradigm' homepage 'https://www.visual-paradigm.com/' - installer script: 'Visual Paradigm.app/Contents/MacOS/JavaApplicationStub', - args: ['-q'], - sudo: false - - uninstall script: { - executable: "/Applications/Visual Paradigm CE #{version.before_comma}/uninstaller/uninstall.app/Contents/MacOS/JavaApplicationStub", - args: ['-q'], - } + # Renamed to avoid conflict with visual-paradigm. + app 'Visual Paradigm.app', target: 'Visual Paradigm CE.app' end