mirror of
https://github.com/onyx-and-iris/voicemeeter-api-powershell.git
synced 2026-04-18 05:23:32 +00:00
update to dll loading
Added fetch dll path through registry. Added custom error class VBPathError in case dll path was not found Added function Setup_DLL to base.ps1 Wrapper setup stops if setup_dll returns false (no login, no class setup)
This commit is contained in:
@@ -14,11 +14,14 @@ class Remote {
|
||||
}
|
||||
|
||||
[void] Setup() {
|
||||
Login -TYPE $this.type
|
||||
if(Setup_DLL) {
|
||||
Login -TYPE $this.type
|
||||
|
||||
$this.button = Buttons
|
||||
$this.strip = Strips
|
||||
$this.bus = Buses
|
||||
$this.button = Buttons
|
||||
$this.strip = Strips
|
||||
$this.bus = Buses
|
||||
}
|
||||
else { Exit }
|
||||
}
|
||||
|
||||
[void] Logout() {
|
||||
|
||||
Reference in New Issue
Block a user