2017-05-26 23:55:00 +08:00
cask 'rider' do
2017-12-28 16:33:24 +08:00
version '2017.3,173.3994.1125'
sha256 '41fb55dbdfa8fa1929ea6d61c3e9cfb1705a8d5fd2c6d2bd725d20d5d3db8f9b'
2017-05-26 23:55:00 +08:00
2017-08-23 05:47:50 +08:00
url " https://download.jetbrains.com/resharper/JetBrains.Rider- #{ version . before_comma } .dmg "
2017-08-04 07:05:12 +08:00
appcast 'https://data.services.jetbrains.com/products/releases?code=RD&latest=true&type=release' ,
2017-12-28 16:33:24 +08:00
checkpoint : '511b8295c4f67322aefc96a246b782ad098c1a6d76dd2440ac0da4bc07e2525d'
2017-05-26 23:55:00 +08:00
name 'Jetbrains Rider'
homepage 'https://www.jetbrains.com/rider/'
auto_updates true
2017-08-23 05:47:50 +08:00
app " Rider #{ version . before_comma } .app "
2017-05-26 23:55:00 +08:00
2017-08-06 17:07:56 +08:00
uninstall_postflight do
ENV [ 'PATH' ] . split ( File :: PATH_SEPARATOR ) . map { | path | File . join ( path , 'rider' ) } . each { | path | File . delete ( path ) if File . exist? ( path ) && File . readlines ( path ) . grep ( %r{ # see com.intellij.idea.SocketLock for the server side of this interface } ) . any? }
end
2017-05-26 23:55:00 +08:00
2017-11-18 13:23:05 +08:00
zap trash : [
2017-11-18 17:35:46 +08:00
" ~/Library/Application Support/Rider #{ version . major_minor } " ,
2017-11-18 13:23:05 +08:00
" ~/Library/Caches/Rider #{ version . major_minor } " ,
" ~/Library/Logs/Rider #{ version . major_minor } " ,
" ~/Library/Preferences/Rider #{ version . major_minor } " ,
'~/Library/Preferences/jetbrains.rider.71e559ef.plist' ,
2017-11-18 17:35:46 +08:00
'~/Library/Saved Application State/com.jetbrains.rider.savedState' ,
2017-11-18 13:23:05 +08:00
]
2017-05-26 23:55:00 +08:00
end