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.
23 lines
843 B
23 lines
843 B
cask 'gogland-eap' do
|
|
version '1.0,171.3780.106'
|
|
sha256 '6b700b1437304e1e58ea3d1f866b2b3545cc83642bcc9a727887f9e0c998a097'
|
|
|
|
url "https://download.jetbrains.com/go/gogland-#{version.after_comma}.dmg"
|
|
name 'Gogland EAP'
|
|
homepage 'https://www.jetbrains.com/go/'
|
|
|
|
conflicts_with cask: 'gogland'
|
|
|
|
app "Gogland #{version.before_comma} EAP.app"
|
|
|
|
uninstall_postflight do
|
|
ENV['PATH'].split(File::PATH_SEPARATOR).map { |path| File.join(path, 'Gogland') }.each { |path| File.delete(path) if File.exist?(path) }
|
|
end
|
|
|
|
zap delete: [
|
|
"~/Library/Preferences/Gogland#{version.major_minor}",
|
|
"~/Library/Application Support/Gogland#{version.major_minor}",
|
|
"~/Library/Caches/Gogland#{version.major_minor}",
|
|
"~/Library/Logs/Gogland#{version.major_minor}",
|
|
]
|
|
end
|
|
|