Skip to content

Commit

Permalink
isvk: move resolve dvcp bundle recursively
Browse files Browse the repository at this point in the history
  • Loading branch information
couleurm committed Jan 31, 2024
1 parent 185cadd commit c0d1479
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions modules/Installers/Install-Voukoder.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -191,9 +191,9 @@ function Install-Voukoder {
$dvcpBundle = "$IOPlugins\voukoder_plugin.dvcp.bundle"

if (-Not(Test-Path $IOPlugins)){
New-Item -ItemType Directory -Path $IOPlugins
New-Item -ItemType Directory -Path $IOPlugins | Out-Null
}
elseif (Test-Path $dvcpBundle){
elseif (Test-Path $dvcpBundle -PathType Container){
if (-Not(Get-Boolean "Would you like to reinstall/update the Voukoder Resolve plugin? (Y/N)")){continue}
Remove-Item $dvcpBundle -Force -Recurse
}
Expand All @@ -205,7 +205,7 @@ function Install-Voukoder {
Remove-Item $ExtractDir -Recurse -Force -ErrorAction Ignore
Expand-Archive $Zip -Destination $ExtractDir

Copy-Item "$ExtractDir\voukoder_plugin.dvcp.bundle" $IOPlugins
Copy-Item "$ExtractDir\voukoder_plugin.dvcp.bundle" $IOPlugins -Recurse

Write-Warning "If connection failed you should find instructions in $ExtractDir\README.txt"
}
Expand Down

0 comments on commit c0d1479

Please sign in to comment.