update rakefile

rework examples
This commit is contained in:
2023-07-21 09:34:26 +01:00
parent 04775e8a3e
commit d8ee19e2f8
7 changed files with 66 additions and 20 deletions

View File

@@ -10,7 +10,7 @@ class Main
def run
puts "press <Enter> to quit"
loop { exit if gets.chomp.empty? }
loop { break if gets.chomp.empty? }
end
def on_update(event)
@@ -28,7 +28,7 @@ class Main
end
if $0 == __FILE__
if $PROGRAM_NAME == __FILE__
Voicemeeter::Remote.new(:potato, midi: true).run do |vm|
Main.new(vm).run
end