diff --git a/scraper/ics-generator.ts b/scraper/ics-generator.ts index a8c2c7497..a467a7310 100644 --- a/scraper/ics-generator.ts +++ b/scraper/ics-generator.ts @@ -27,7 +27,7 @@ export class ICSGenerator { chunks.push(chunk); index += 75; } - return chunks.join("\n"); + return chunks.join("\r\n"); } private generateICSFile( @@ -135,7 +135,7 @@ export class ICSGenerator { if (lines.length <= 10) { this.debug("Skipping empty ICS file:", filepath); } else { - writeFileSync(filepath, lines.join("\n"), "utf-8"); + writeFileSync(filepath, lines.join("\r\n"), "utf-8"); } } }