mirror of
https://github.com/onyx-and-iris/voicemeeter-api-powershell.git
synced 2026-04-09 17:33:33 +00:00
make examples and tests runnable if dot sourced
This commit is contained in:
@@ -63,4 +63,4 @@ function main {
|
|||||||
finally { Disconnect-Voicemeeter }
|
finally { Disconnect-Voicemeeter }
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($MyInvocation.InvocationName -ne '.') { main }
|
main
|
||||||
|
|||||||
@@ -68,4 +68,4 @@ function main {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($MyInvocation.InvocationName -ne '.') { main }
|
main
|
||||||
|
|||||||
@@ -73,5 +73,4 @@ function main() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
main
|
||||||
if ($MyInvocation.InvocationName -ne '.') { main }
|
|
||||||
|
|||||||
Reference in New Issue
Block a user