mirror of
https://github.com/onyx-and-iris/voicemeeter-rb.git
synced 2024-11-15 23:00:48 +00:00
add BASICX64 and BANANAX64 to KindEnum
upd {Base}.run_voicemeeter launch x64 client for all kinds if OS_BITS == 64 patch bump
This commit is contained in:
parent
77adc6a71b
commit
8469351dde
@ -65,8 +65,8 @@ module Voicemeeter
|
|||||||
|
|
||||||
def run_voicemeeter(kind_id)
|
def run_voicemeeter(kind_id)
|
||||||
kinds = {
|
kinds = {
|
||||||
basic: Kinds::KindEnum::BASIC,
|
basic: (Install::OS_BITS == 64) ? Kinds::KindEnum::BASICX64 : Kinds::KindEnum::BASIC,
|
||||||
banana: Kinds::KindEnum::BANANA,
|
banana: (Install::OS_BITS == 64) ? Kinds::KindEnum::BANANAX64 : Kinds::KindEnum::BANANA,
|
||||||
potato: (Install::OS_BITS == 64) ? Kinds::KindEnum::POTATOX64 : Kinds::KindEnum::POTATO
|
potato: (Install::OS_BITS == 64) ? Kinds::KindEnum::POTATOX64 : Kinds::KindEnum::POTATO
|
||||||
}
|
}
|
||||||
if caller(1..1).first[/`(.*)'/, 1] == "login"
|
if caller(1..1).first[/`(.*)'/, 1] == "login"
|
||||||
|
@ -6,6 +6,8 @@ module Voicemeeter
|
|||||||
BASIC = 1
|
BASIC = 1
|
||||||
BANANA = 2
|
BANANA = 2
|
||||||
POTATO = 3
|
POTATO = 3
|
||||||
|
BASICX64 = 4
|
||||||
|
BANANAX64 = 5
|
||||||
POTATOX64 = 6
|
POTATOX64 = 6
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -11,7 +11,7 @@ module Voicemeeter
|
|||||||
end
|
end
|
||||||
|
|
||||||
def patch
|
def patch
|
||||||
0
|
1
|
||||||
end
|
end
|
||||||
|
|
||||||
def to_a
|
def to_a
|
||||||
|
Loading…
Reference in New Issue
Block a user