Fix line endings on Windows

Fix #489
This commit is contained in:
Markus Unterwaditzer
2025-07-30 13:05:21 +02:00
committed by Markus Unterwaditzer
parent 398997af67
commit 53a6cbe95a

9
.gitattributes vendored Normal file
View File

@@ -0,0 +1,9 @@
# Files that are distributed onto the Rayhunter device always have to have
# Unix-style line endings, even if the installer is built on Windows with
# autocrlf enabled.
# Using CRLF for the init scripts will make them fail to execute on TP-Link.
# See https://github.com/EFForg/rayhunter/issues/489
dist/config.toml.in eol=lf
dist/scripts/misc-daemon eol=lf
dist/scripts/rayhunter_daemon eol=lf