Skip to content

Commit

Permalink
add support for vegas 14
Browse files Browse the repository at this point in the history
  • Loading branch information
couleurm committed Apr 10, 2024
1 parent 8007a20 commit 4b5ecc2
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions modules/Installers/Install-Voukoder.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,8 @@ function Install-Voukoder {
$NLEBin = $NLE.Path
}else{
$AvailableNLETemplates = @{
"Vegas Pro" = "vegas200.exe"
"Vegas Pro 18+" = "vegas180.exe"
"Vegas Pro 14" = "vegas140.exe"
"Premiere Pro" = "Adobe Premiere Pro.exe"
"After Effects" = "AfterFX.exe"
}
Expand Down Expand Up @@ -266,7 +267,12 @@ function Install-Voukoder {
{($NLEBin | Split-Path -Leaf).StartsWith('vegas')}{

$NLETerm = "Vegas"
$TemplatesFolder = "$env:APPDATA\VEGAS\Render Templates\voukoder"

$TemplatesFolder = if (($NLEBin | Split-Path -Leaf) -like ("*140.exe")){
"$env:APPDATA\Sony\Render Templates\voukoder"
} else {
"$env:APPDATA\VEGAS\Render Templates\voukoder"
}

if (-Not(Test-Path $TemplatesFolder)){
New-Item -ItemType Directory -Path $TemplatesFolder -Force | Out-Null
Expand Down

0 comments on commit 4b5ecc2

Please sign in to comment.