mirror of
https://github.com/onyx-and-iris/voicemeeter-api-powershell.git
synced 2025-01-18 13:20:47 +00:00
8429fed8b4
add quick.ps1 to gitignore run formatter on files
9 lines
390 B
PowerShell
9 lines
390 B
PowerShell
Function Get_VBPath {
|
|
$reg_path = "Registry::HKEY_LOCAL_MACHINE\Software" + `
|
|
(& { If ([Environment]::Is64BitOperatingSystem) { "\WOW6432Node" } Else { "" } }) + `
|
|
"\Microsoft\Windows\CurrentVersion\Uninstall"
|
|
$vm_key = "\VB:Voicemeeter {17359A74-1236-5467}\"
|
|
|
|
return $(Get-ItemPropertyValue -Path ($reg_path + $vm_key) -Name UninstallString | Split-Path -Parent)
|
|
}
|