inital commit
This commit is contained in:
commit
a60b1b13b2
78 files changed
+13166
No files matched your search
@@ -0,0 +1,21 @@
|
||||
param(
|
||||
[string]$ObsPath = "C:\Program Files\obs-studio"
|
||||
)
|
||||
|
||||
$ErrorActionPreference = "Stop"
|
||||
|
||||
if (Get-Process obs64 -ErrorAction SilentlyContinue) {
|
||||
throw "OBS is running. Please close OBS before uninstalling the plugin."
|
||||
}
|
||||
|
||||
$dllPath = Join-Path $ObsPath "obs-plugins\64bit\audio-waveform-dock.dll"
|
||||
$dataPath = Join-Path $ObsPath "data\obs-plugins\audio-waveform-dock"
|
||||
|
||||
foreach ($path in @($dllPath, $dataPath)) {
|
||||
if (Test-Path $path) {
|
||||
Remove-Item $path -Recurse -Force
|
||||
Write-Host "Removed $path"
|
||||
}
|
||||
}
|
||||
|
||||
Write-Host "Uninstalled audio-waveform-dock."
|
||||
Reference in new issue
Block a user