From 5f8688f0cd6b2925a2ad842b4f2a495286cf9434 Mon Sep 17 00:00:00 2001 From: Lorenz Stechauner Date: Mon, 15 Apr 2024 11:36:55 +0200 Subject: [PATCH] Small fixes --- Elwig/Helpers/Printing/Pdf.cs | 2 +- Installer/Files/config.ini | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Elwig/Helpers/Printing/Pdf.cs b/Elwig/Helpers/Printing/Pdf.cs index c63e0b7..2eefdb0 100644 --- a/Elwig/Helpers/Printing/Pdf.cs +++ b/Elwig/Helpers/Printing/Pdf.cs @@ -59,7 +59,7 @@ namespace Elwig.Helpers.Printing { progress?.Report(0.0); using var client = new TcpClient("127.0.0.1", 30983); using var stream = client.GetStream(); - await stream.WriteAsync(Encoding.UTF8.GetBytes( + await stream.WriteAsync(Utils.UTF8.GetBytes( "-e utf-8;-p;" + (doublePaged ? "-2;" : "") + $"{string.Join(';', htmlPath)};{pdfPath}" + "\r\n")); diff --git a/Installer/Files/config.ini b/Installer/Files/config.ini index 75ffd96..8215a6e 100644 --- a/Installer/Files/config.ini +++ b/Installer/Files/config.ini @@ -11,7 +11,7 @@ file = database.sqlite3 ;log = db.log [update] -url = https://www.necronda.net/elwig/files/elwig/latest?format=json +url = https://www.necronda.net/elwig/files/elwig/latest auto = true [smtp]