Files
wanderbooks/deploy/packaging/macos/Info.plist.in
T
swaitsandClaude Fable 5.2 8e3db472fa feat(packaging): a per-user Windows installer, a universal macOS app and dmg, desktop entries with the icon (P15 C1)
Windows: a hand-written NSIS script (per user, no administrator prompt,
installs under the profile's Programs folder; one program file; a Start
Menu entry named Wanderbooks with the icon; an uninstaller listed in
Settings > Apps that removes only what the installer put in its own
folder and never names the data folder). The installer asks the person to
quit the app fully before it replaces or removes the program. An optional
Authenticode signing step runs only when its secrets exist.

macOS: the .app is assembled by a script (Info.plist with the bundle
identifier, version, name, Documents-folder purpose string; the one
program at Contents/MacOS/wanderbooks; the licences), signed with the
hardened runtime and an empty entitlements file that says why, put in a
dmg with an Applications shortcut, notarized and stapled when the
owner's Apple identity is given and skipped with a notice when not. The
program is one universal binary (lipo of the two release builds).

Linux: both desktop entries name the window's app id and the icon; the
rpm now installs the icon; the deb, the pacman tarball and the rpm all
carry LICENSE-MIT and LICENSE-APACHE beside the notices.

One version: deploy/packaging/version.sh reads crates/ledger-cli's
Cargo.toml; every script takes it from there. Tests read the scripts and
build a bundle with a stand-in program.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 15:41:22 -07:00

49 lines
1.9 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<!-- The Info.plist of Wanderbooks.app (plan P15 unit C1; WB-pkg-1, WB-pkg-6).
build-macos.sh replaces @VERSION@ with the program's version
(deploy/packaging/version.sh) and @BUNDLE_ID@ with the bundle
identifier. -->
<plist version="1.0">
<dict>
<key>CFBundleName</key>
<string>Wanderbooks</string>
<key>CFBundleDisplayName</key>
<string>Wanderbooks</string>
<key>CFBundleIdentifier</key>
<string>@BUNDLE_ID@</string>
<key>CFBundleExecutable</key>
<string>wanderbooks</string>
<key>CFBundleIconFile</key>
<string>wanderbooks</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleShortVersionString</key>
<string>@VERSION@</string>
<key>CFBundleVersion</key>
<string>@VERSION@</string>
<key>LSMinimumSystemVersion</key>
<string>11.0</string>
<key>LSApplicationCategoryType</key>
<string>public.app-category.finance</string>
<key>NSHighResolutionCapable</key>
<true/>
<!-- One Wanderbooks at a time: it holds the books open. -->
<key>LSMultipleInstancesProhibited</key>
<true/>
<!-- The discrete GPU is not woken for a ledger. -->
<key>NSSupportsAutomaticGraphicsSwitching</key>
<true/>
<key>NSHumanReadableCopyright</key>
<string>MIT OR Apache-2.0</string>
<!-- macOS asks the person once before an app reads their Documents folder,
and shows this sentence. Wanderbooks makes a folder there for each
company's assistant (Documents/Wanderbooks) and for the Claude
extension; it never reads anything else of theirs there. -->
<key>NSDocumentsFolderUsageDescription</key>
<string>Wanderbooks keeps a small folder in Documents for each company, where an assistant such as Claude Code works, and the extension file for the Claude app.</string>
</dict>
</plist>