diff --git a/QuestPDF.Previewer/QuestPDF.Previewer.csproj b/QuestPDF.Previewer/QuestPDF.Previewer.csproj index 001c461..64b7719 100644 --- a/QuestPDF.Previewer/QuestPDF.Previewer.csproj +++ b/QuestPDF.Previewer/QuestPDF.Previewer.csproj @@ -48,8 +48,7 @@ - - + diff --git a/QuestPDF/Drawing/Exceptions/InitializationException.cs b/QuestPDF/Drawing/Exceptions/InitializationException.cs index 31cab90..4a8afe8 100644 --- a/QuestPDF/Drawing/Exceptions/InitializationException.cs +++ b/QuestPDF/Drawing/Exceptions/InitializationException.cs @@ -15,21 +15,21 @@ namespace QuestPDF.Drawing.Exceptions return $"Cannot create the {documentType} document using the {libraryName} library. " + $"This exception usually means that, on your operating system where you run the application, {libraryName} requires installing additional dependencies. " + - $"Such dependencies are available as additional nuget packages, for example {nugetConvention}.Linux. " + - $"Some operating systems may require installing multiple nugets, e.g. MacOS may need both {nugetConvention}.macOS and {nugetConvention}.Linux." + + $"Such dependencies are available as additional nuget packages, for example {nugetConvention}.Linux.NoDependencies. " + + $"Some operating systems may require installing multiple nugets, e.g. MacOS may need both {nugetConvention}.macOS.NoDependencies and {nugetConvention}.Linux.NoDependencies." + $"Please refer to the {libraryName} documentation for more details. " + $"Also, please consult the inner exception that has been originally thrown by the dependency library."; (string GetLibraryName, string nugetConvention) GetLibraryName() { if (innerExceptionMessage.Contains("libSkiaSharp")) - return ("SkiaSharp", "SkiaSharp.NativeAssets.Linux"); + return ("SkiaSharp", "SkiaSharp.NativeAssets"); if (innerExceptionMessage.Contains("libHarfBuzzSharp")) return ("HarfBuzzSharp", "HarfBuzzSharp.NativeAssets"); // default - return ("SkiaSharp-related", "*.NativeAssets.Linux"); + return ("SkiaSharp-related", "*.NativeAssets"); } } } diff --git a/QuestPDF/Resources/Logo.png b/QuestPDF/Resources/Logo.png index a0f1a19..6492639 100644 Binary files a/QuestPDF/Resources/Logo.png and b/QuestPDF/Resources/Logo.png differ