enable verbose output in examples

fix host key in obs example readme.
This commit is contained in:
onyx-and-iris 2022-12-17 02:11:00 +00:00
parent e01d4f134a
commit 72467a611b
4 changed files with 7 additions and 3 deletions

View File

@ -7,6 +7,8 @@ param(
Import-Module ..\..\lib\Voicemeeter.psm1 Import-Module ..\..\lib\Voicemeeter.psm1
$VerbosePreference = "Continue"
function get-value { function get-value {
param([object]$vmr, [string]$line) param([object]$vmr, [string]$line)
try { try {

View File

@ -9,6 +9,8 @@
Import-Module ..\..\lib\Voicemeeter.psm1 Import-Module ..\..\lib\Voicemeeter.psm1
$VerbosePreference = "Continue"
try { try {
$vmr = Get-RemotePotato $vmr = Get-RemotePotato

View File

@ -15,7 +15,7 @@ This example assumes the following:
```psd1 ```psd1
@{ @{
hostname = "localhost" host = "localhost"
port = 4455 port = 4455
password = "mystrongpassword" password = "mystrongpassword"
} }

View File

@ -30,7 +30,7 @@ function CurrentProgramSceneChanged {
function ExitStarted { function ExitStarted {
param([System.Object]$data) param([System.Object]$data)
"OBS closing has begun!" | Write-Host "OBS shutdown has begun!" | Write-Host
break break
} }
@ -59,7 +59,7 @@ function main {
if ($data.op -eq 5) { if ($data.op -eq 5) {
eventHandler($data.d) eventHandler($data.d)
} }
} }
} }
} }
finally { finally {