macOS: the standard About panel shows the website and Discord links (#1287) (#1718)

PdfCraft > About PdfCraft is AppKit's standard panel (winit's default menu),
which takes Credits.rtf from Contents/Resources. Ship one with the lines the
in-app Help > About has: the one-sentence description, the licence, and links
to getartcraft.com and the Discord.

Co-authored-by: Tristan von Kries <tristan@MacBook-Pro-von-Tristan.local>
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
Tristan von Kries
2026-10-15 02:21:32 -04:00
committed by GitHub
co-authored by Tristan von Kries Claude Fable 5.1
parent 4e06a01631
commit 659c8fcbd4
2 changed files with 13 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
{\rtf1\ansi\ansicpg1252\cocoartf2822
{\fonttbl\f0\fswiss\fcharset0 Helvetica;}
{\colortbl;\red255\green255\blue255;}
\pard\qc\f0\fs24\cf0
A clean-room, open-source PDF application written in Rust.\
MIT OR Apache-2.0.\
\
{\field{\*\fldinst{HYPERLINK "https://getartcraft.com"}}{\fldrslt getartcraft.com}}\
Help and feedback: {\field{\*\fldinst{HYPERLINK "https://discord.gg/artcraft"}}{\fldrslt discord.gg/artcraft}}\
}
+3
View File
@@ -103,6 +103,9 @@ mkdir -p "$APP/Contents/MacOS" "$APP/Contents/Resources"
# Executable and icon carry the display name (CFBundleExecutable / CFBundleIconFile).
cp "$WORK/bin/pdfcraft" "$APP/Contents/MacOS/PdfCraft"
cp "$ROOT/assets/app-icon/pdfcraft.icns" "$APP/Contents/Resources/PdfCraft.icns"
# The standard About panel (PdfCraft menu > About PdfCraft) shows Credits.rtf under the version:
# the website and Discord links the in-app About dialog has (#1287).
cp "$HERE/Credits.rtf" "$APP/Contents/Resources/Credits.rtf"
copy_font_licences "$APP/Contents/Resources"
# OCR models: the app finds them at Contents/MacOS/../Resources/models. Before signing, so the
# bundle's seal covers them.