luabundle icon indicating copy to clipboard operation
luabundle copied to clipboard

Metadata can not be read during unbundle if line ending is \r\n

Open Sebaestschjin opened this issue 2 years ago • 0 comments

Not sure, if this is platform specific (on Windows), but the unbundling doesn't work when the first line containing the metadata ends with "\r\n" instead of "\n". The bundler complains that it can't find the metadata and thus won't unbundle the file.

This becomes an issue when people copy pre-bundled scripts to the scripting windows in TTS, that where previously saved on disc (so the line endings where replaced with "\r\n" by their editor). Then the Atom unbundling doesn't work anymore.

Sebaestschjin avatar Jun 23 '22 08:06 Sebaestschjin