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>
30 lines
1.6 KiB
Plaintext
30 lines
1.6 KiB
Plaintext
<?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 hardened-runtime entitlements of Wanderbooks.app (plan P15 unit C1).
|
|
|
|
The app is signed with the hardened runtime (codesign --options
|
|
runtime), which Apple's notarization requires. It is NOT sandboxed
|
|
(the App Sandbox would forbid what the product is: it starts a copy of
|
|
itself as the books server, runs the system's git for backups, and
|
|
reads and writes the person's data folder and the folders they pick
|
|
for backups). Outside the sandbox, none of that needs an entitlement:
|
|
|
|
* starting itself as a child process and git as another: none;
|
|
* outgoing network connections (the relay, the update look, a git
|
|
remote): none (com.apple.security.network.client is a SANDBOX
|
|
entitlement);
|
|
* reading and writing its data folder, Application Support/wanderbooks:
|
|
none (the Documents folder is a privacy prompt, answered by
|
|
NSDocumentsFolderUsageDescription in Info.plist, not an entitlement);
|
|
* the window's graphics (Metal through wgpu): none;
|
|
* no JIT, no unsigned executable memory, no DYLD variables, no
|
|
library validation exception: the program loads only system
|
|
frameworks and its own code.
|
|
|
|
So the set below is empty on purpose. If the first notarized build
|
|
fails to start, the log names the entitlement it needs; add exactly
|
|
that one here, with the reason, and not a broader exception. -->
|
|
<plist version="1.0">
|
|
<dict/>
|
|
</plist>
|