Add .gitattributes + Fix encodings

Signed-off-by: Rohan Barar <rohan.barar@gmail.com>
This commit is contained in:
Rohan Barar
2025-09-20 09:00:36 +10:00
parent ec292002f9
commit 471bfdce58
2 changed files with 5 additions and 1 deletions

4
.gitattributes vendored Normal file
View File

@@ -0,0 +1,4 @@
# Ensure Windows-friendly line endings and encoding for batch and registry files
*.bat text eol=crlf
*.cmd text eol=crlf
*.reg text eol=crlf working-tree-encoding=UTF-16LE-BOM

View File

@@ -40,7 +40,7 @@ if %ERRORLEVEL% equ 0 (
echo [SUCCESS] Firewall changes applied successfully.
) else (
echo [ERROR] Failed to apply firewall changes.
echo Please manually enable Remote Desktop via 'Settings System Remote Desktop'.
echo Please manually enable Remote Desktop via 'Settings --> System --> Remote Desktop'.
)
)