Skip to content

Commit 20d277e

Browse files
samaBR85claude
andcommitted
Fix double Support Files in AE install path
Registry InstallPath already includes \Support Files — only append if not already present. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 72de7a8 commit 20d277e

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

instalar.bat

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,8 @@ if not defined AE_PATH (
6262
:: Remover barra final se houver
6363
if "%AE_PATH:~-1%"=="\" set AE_PATH=%AE_PATH:~0,-1%
6464

65-
set AE_PATH=%AE_PATH%\Support Files
65+
:: Append Support Files apenas se ainda nao estiver no caminho
66+
if /i not "%AE_PATH:~-13%"=="Support Files" set AE_PATH=%AE_PATH%\Support Files
6667

6768
:: Verificar se o caminho existe
6869
if not exist "%AE_PATH%" (

0 commit comments

Comments
 (0)