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

@@ -2,8 +2,4 @@
source "https://rubygems.org"
gem "voicemeeter", path: "../.."
gem "obsws", "~> 0.1.3"
gem "pathname", "~> 0.2.1"

View File

@@ -1,4 +1,4 @@
require "voicemeeter"
require_relative "../../lib/voicemeeter"
require "obsws"
require "yaml"
require "pathname"
@@ -59,7 +59,7 @@ def conn_from_yml
end
if $0 == __FILE__
if $PROGRAM_NAME == __FILE__
Voicemeeter::Remote.new(:potato).run do |vm|
Main.new(vm, **conn_from_yml).run
end