ENV['PATH'].split(File::PATH_SEPARATOR).map{|path|File.join(path,'goland')}.each{|path|File.delete(path)ifFile.exist?(path)&&File.readlines(path).grep(%r{# see com.intellij.idea.SocketLock for the server side of this interface}).any?}
end
# The folders GoLand creates are still named Gogland. This should be checked after the first non-EAP release.