mirror of
https://github.com/onyx-and-iris/voicemeeter-rb.git
synced 2026-04-17 08:33:31 +00:00
update rakefile
rework examples
This commit is contained in:
@@ -2,8 +2,4 @@
|
||||
|
||||
source "https://rubygems.org"
|
||||
|
||||
gem "voicemeeter", path: "../.."
|
||||
|
||||
gem "obsws", "~> 0.1.3"
|
||||
|
||||
gem "pathname", "~> 0.2.1"
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user