bin/volay in volay-2.0.0 vs bin/volay in volay-2.1.0

- old
+ new

@@ -1,9 +1,9 @@ #!/usr/bin/env ruby # frozen_string_literal: true -require File.expand_path('../../lib/volay', __FILE__) +require File.expand_path('../lib/volay', __dir__) # Module volay module Volay # Main class to display app or control volume class Main @@ -24,10 +24,10 @@ Volay::Config.mixer.down(config[:down]) unless config[:down].nil? Volay::Config.mixer.toggle if config[:mute] end def app - Volay::App.new(File.expand_path('../../glade/volay.glade', __FILE__)) + Volay::App.new(File.expand_path('../glade/volay.glade', __dir__)) Gtk.main end end end