Make PandocExecutableName public

This commit is contained in:
Thorsten Sommer 2025-05-29 22:59:51 +02:00
parent cd3e402295
commit bb2db5585a
Signed by: tsommer
GPG Key ID: 371BBA77A02C0108
2 changed files with 2 additions and 2 deletions

View File

@ -91,7 +91,7 @@
</MudListItem> </MudListItem>
<MudListItem T="string" Class="mb-2"> <MudListItem T="string" Class="mb-2">
Open the folder and copy the full path to the <CodeBlock IsInline="@true">pandoc.exe</CodeBlock> file into your Open the folder and copy the full path to the <CodeBlock IsInline="true">@PandocProcessBuilder.PandocExecutableName</CodeBlock> file into your
clipboard. clipboard.
<CodeTabs> <CodeTabs>
<CodeBlock Title="Windows">C:\Users\%USERNAME%\pandoc\pandoc-@(PANDOC_VERSION)</CodeBlock> <CodeBlock Title="Windows">C:\Users\%USERNAME%\pandoc\pandoc-@(PANDOC_VERSION)</CodeBlock>

View File

@ -131,5 +131,5 @@ public sealed class PandocProcessBuilder
/// <summary> /// <summary>
/// Reads the os platform to determine the used executable name. /// Reads the os platform to determine the used executable name.
/// </summary> /// </summary>
private static string PandocExecutableName => CPU_ARCHITECTURE is RID.WIN_ARM64 or RID.WIN_X64 ? "pandoc.exe" : "pandoc"; public static string PandocExecutableName => CPU_ARCHITECTURE is RID.WIN_ARM64 or RID.WIN_X64 ? "pandoc.exe" : "pandoc";
} }