run 64bit exe for potato, update changelog

Run 64bit executable is launched if on 64bit OS

update changelog
This commit is contained in:
Onyx and Iris 2021-06-06 17:21:54 +01:00
parent 41ae9b299f
commit 01a60b99b1
2 changed files with 8 additions and 2 deletions

View File

@ -11,6 +11,7 @@ Before any minor/major patch is released all test units will be run to verify th
- [x] Update tests to reflect changes
- [x] Add vban section to README
- [x] Added meta functions for bus/strip attrs
- [x] Run 64bit exe for potato version if on 64bit OS
## [1.5] - 2021-05-11
### Added

View File

@ -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') }
}