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:
onyx-and-iris
2021-05-04 17:29:38 +01:00
parent b02f6891d9
commit fbe9fe68cf
6 changed files with 77 additions and 30 deletions

View File

@@ -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() {