lib/shelr.rb in shelr-0.9.8 vs lib/shelr.rb in shelr-0.9.9
- old
+ new
@@ -3,10 +3,10 @@
require 'json'
module Shelr
APP_NAME = 'shelr'
- DATA_DIR = File.join(ENV['HOME'], '.share', APP_NAME)
+ DATA_DIR = File.join(ENV['HOME'], '.local', 'share', APP_NAME)
CONFIG_DIR = File.join(ENV['HOME'], '.config', APP_NAME)
API_KEY = File.join(CONFIG_DIR, 'api_key')
API_URL = ENV['SHELR_LOCAL'] ? 'http://localhost:3000' : 'http://shelr.tv'
autoload :Recorder, 'shelr/recorder.rb'