Skip to content

Convert CRLF to LF on Windows Fix, enforce LF and updated README#183

Merged
Helias merged 6 commits intoazerothcore:masterfrom
TheSCREWEDSoftware:make_it_work_on_windows_sad_face
Apr 1, 2026
Merged

Convert CRLF to LF on Windows Fix, enforce LF and updated README#183
Helias merged 6 commits intoazerothcore:masterfrom
TheSCREWEDSoftware:make_it_work_on_windows_sad_face

Conversation

@TheSCREWEDSoftware
Copy link
Copy Markdown
Contributor

@TheSCREWEDSoftware TheSCREWEDSoftware commented Mar 31, 2026

This fixes the issue where the docker container couldn't startup on windows due to windows reading it as CRLF when script excepted it to be LF

With this PR it progresses this: #162

As I haven't been possible to get the PHP / WP to work, with this PR you can run the container just the PHP / WP will fail (instead of failing the startup)

I no longer have my logs but i will share screenshots from Nyeriah having the same issue

image image

This also creates .gitattributes and enforces LF, there was some an issue with UTF-8 BOM not being read properly should be fixed.

--renormalize was ran to enforce the changes after convertion just to be safe.

Readme was updated

I know acore-cms works out of the box in linux, it has never for me worked on windows (natively windows, not wsl or native linux)

Default: normalize all text files to LF in the repo

Force shell scripts to always use LF (critical for Docker/Linux containers)

Force Dockerfiles and docker-compose files to LF
@TheSCREWEDSoftware
Copy link
Copy Markdown
Contributor Author

CC @Helias

@TheSCREWEDSoftware TheSCREWEDSoftware changed the title Convert CRLF to LF and enforce it, updated README Convert CRLF to LF on Windows Fix, enforce LF and updated README Mar 31, 2026
@Helias
Copy link
Copy Markdown
Member

Helias commented Mar 31, 2026

thank you, merged!

@Helias Helias merged commit e80cf27 into azerothcore:master Apr 1, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants