mirror of
https://github.com/onyx-and-iris/voicemeeter-api-powershell.git
synced 2026-04-09 01:13:32 +00:00
run 64bit exe for potato, update changelog
Run 64bit executable is launched if on 64bit OS update changelog
This commit is contained in:
@@ -72,7 +72,7 @@ Function Param_Set_Multi {
|
||||
)
|
||||
Start-Sleep -m 50
|
||||
while(M_Dirty) { Start-Sleep -m 1 }
|
||||
|
||||
|
||||
$cmd_strip = [String]::new(512)
|
||||
$cmd_bus = [String]::new(512)
|
||||
|
||||
@@ -263,7 +263,12 @@ Function Login {
|
||||
Switch($TYPE) {
|
||||
'basic' { $vbtype = 1; Break}
|
||||
'banana' { $vbtype = 2; Break}
|
||||
'potato' { $vbtype = 3; Break}
|
||||
'potato' {
|
||||
if ([Environment]::Is64BitOperatingSystem) {
|
||||
$vbtype = 6
|
||||
} else { $vbtype = 3 }
|
||||
Break
|
||||
}
|
||||
Default { throw [LoginError]::new('Unknown Voicemeeter type') }
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user