more IODevice.driver tweaks

use temp file instead of persistent

manual and pester tests pass
This commit is contained in:
pblivingston
2026-03-04 04:08:08 -05:00
parent 6b2031de99
commit 4ea371af2f
2 changed files with 12 additions and 15 deletions

View File

@@ -20,15 +20,11 @@ class Remote {
[String]$vmpath
[Hashtable]$kind
[Object]$profiles
[String]$userpath
[String]$workingconfig
Remote ([String]$kindId) {
$this.vmpath = Setup_DLL
$this.kind = GetKind($kindId)
$this.profiles = Get_Profiles($this.kind.name)
$this.userpath = Join-Path ([Environment]::GetFolderPath('MyDocuments')) 'Voicemeeter'
$this.workingconfig = Join-Path $this.userpath ('vm' + $this.kind.name + '_working.xml')
}
[string] ToString() {