PdfCraft: An open-source PDF reader and editor written by scratch in pure Rust
macOS: the standard About panel shows the website and Discord links (#1287) (#1718)
Tristan von Kries659c8fcbd43c
diff --git a/packaging/macos/Credits.rtf b/packaging/macos/Credits.rtfnew file mode 100644index 000000000..18c053f5d--- /dev/null+++ b/packaging/macos/Credits.rtf@@ -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}}\+}diff --git a/packaging/macos/package.sh b/packaging/macos/package.shindex e04be13c8..267a87280 100755--- a/packaging/macos/package.sh+++ b/packaging/macos/package.sh@@ -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.