diff --git a/language/LocaleLoader.js b/language/LocaleLoader.js index 1f53c57..d5727f5 100644 --- a/language/LocaleLoader.js +++ b/language/LocaleLoader.js @@ -74,7 +74,7 @@ class LocaleLoader { } parsed[matched] = text; - for(const [ key, value ] of Object.entries(parsed)) { + if (process.platform === 'win32') for (const [key, value] of Object.entries(parsed)) { parsed[key] = value.replace(/^(\r)|(\r){1,}$/gu, '').replace(/\r/gu, '\n'); }