mirror of
https://github.com/maziggy/bambuddy.git
synced 2026-10-18 11:56:01 +02:00
Fix Windows install syntax error from LF line endings (#544)
The start_bambuddy.bat launcher had Unix (LF) line endings. When a user's git is configured with core.autocrlf=false or input, the file is checked out with LF endings and cmd.exe fails with "the syntax of the command is incorrect" before reaching the hash check. Add .gitattributes forcing CRLF for *.bat files so they always get correct line endings on checkout regardless of git config.
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
# Force CRLF line endings for Windows batch files so cmd.exe can parse them
|
||||
# regardless of the user's core.autocrlf setting.
|
||||
*.bat text eol=crlf
|
||||
Reference in New Issue
Block a user