We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2701828 commit 2110d28Copy full SHA for 2110d28
Support/bin/db_browser_lib.rb
@@ -188,7 +188,7 @@ def html(subtitle = nil)
188
189
def get_connection_settings(options)
190
begin
191
- plist = open(File.expand_path('~/Library/Preferences/com.macromates.textmate.plist')) { |io| OSX::PropertyList.load(io) }
+ plist = open(File.expand_path("~/Library/Preferences/#{ENV['TM_APP_IDENTIFIER'] || 'com.macromates.textmate'}.plist")) { |io| OSX::PropertyList.load(io) }
192
193
unless connection = plist['SQL Connections'].find { |conn| conn['title'] == ENV['TM_SQL_CONNECTION'] }
194
connection = plist['SQL Connections'][plist['SQL Active Connection'].first.to_i]
0 commit comments