From 4b5ecc2faf8c76639a184a4a8b533e5ec9ad7e24 Mon Sep 17 00:00:00 2001 From: Couleur <82747632+couleurm@users.noreply.github.com> Date: Wed, 10 Apr 2024 13:01:28 +0200 Subject: [PATCH] add support for vegas 14 --- modules/Installers/Install-Voukoder.ps1 | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/modules/Installers/Install-Voukoder.ps1 b/modules/Installers/Install-Voukoder.ps1 index 50cd49a..9d5c0fa 100644 --- a/modules/Installers/Install-Voukoder.ps1 +++ b/modules/Installers/Install-Voukoder.ps1 @@ -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" } @@ -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