feat: Add variable to set EOL character (LF or CRLF)

This commit is contained in:
ithinkandicode 2020-04-29 20:45:47 +01:00 committed by OleSTEEP
parent 39b8958d9c
commit f26c349ed9

View file

@ -17,6 +17,7 @@ string projFolder = GetFolder(FilePath) + GameName + ".gmx" + Path.DirectorySepa
TextureWorker worker = new TextureWorker();
ThreadLocal<DecompileContext> DECOMPILE_CONTEXT = new ThreadLocal<DecompileContext>(() => new DecompileContext(Data, false));
string gmxDeclaration = "This Document is generated by GameMaker, if you edit it by hand then you do so at your own risk!";
string eol = "\n"; // Linux: "\n", Windows: "\r\n"
if (Directory.Exists(projFolder))
{