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]