You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
985 B
24 lines
985 B
cask 'pycharm-ce-eap' do
|
|
version '2017.1,171.3780.111'
|
|
sha256 'f5a43260b2cd7a770bf725ac38ac99d36407437566ac40a4921e23ab92c853b9'
|
|
|
|
url "https://download.jetbrains.com/python/pycharm-community-#{version.after_comma}.dmg"
|
|
name 'Jetbrains PyCharm Community Edition EAP'
|
|
name 'PyCharm CE EAP'
|
|
homepage 'https://www.jetbrains.com/pycharm/whatsnew/'
|
|
|
|
conflicts_with cask: 'pycharm-ce'
|
|
|
|
app "PyCharm CE #{version.before_comma} EAP.app"
|
|
|
|
uninstall_postflight do
|
|
ENV['PATH'].split(File::PATH_SEPARATOR).map { |path| File.join(path, 'charm') }.each { |path| File.delete(path) if File.exist?(path) }
|
|
end
|
|
|
|
zap delete: [
|
|
"~/Library/Application Support/PyCharm#{version.before_comma.major_minor}",
|
|
"~/Library/Caches/PyCharm#{version.before_comma.major_minor}",
|
|
"~/Library/Logs/PyCharm#{version.before_comma.major_minor}",
|
|
"~/Library/Preferences/PyCharm#{version.before_comma.major_minor}",
|
|
]
|
|
end
|
|
|