lib/fontist.rb in fontist-1.7.1 vs lib/fontist.rb in fontist-1.7.2
- old
+ new
@@ -27,10 +27,10 @@
def self.root_path
Pathname.new(File.dirname(__dir__))
end
def self.fontist_path
- Pathname.new(Dir.home).join(".fontist")
+ Pathname.new(ENV["FONTIST_PATH"] || File.join(Dir.home, ".fontist"))
end
def self.fonts_path
Fontist.fontist_path.join("fonts")
end