oficina / base Public

Clone
git clone https://amadan.net/oficina/base

Plain git — no account needed to clone.

Download

Download this file

1#!/bin/sh
2# The Mac app, bundled by rastrillo/native's bundle-mac.py: works.oficina.base,
3# "Oficina Base" in Finder and the Dock, "Base" in its menus, Sparkle
4# configured from mac-updates.json. Signs ad hoc unless --sign-identity says
5# otherwise; never notarises or publishes.
6# --provisioning-profile PATH and --entitlements PATH override mac-updates.json.
7# The pinned kit embeds the profile at Contents/embedded.provisionprofile
8# before signing. Ad hoc builds omit restricted grants and never open a profile.
9# --configuration release refuses to build without Timeless Sans (P8).
10set -eu
11cd "$(dirname "$0")/.."
12case " $* " in
13 *" --configuration release "*|*" --configuration=release "*) scripts/fonts-into-bundle.sh --release ;;
14 *) scripts/fonts-into-bundle.sh ;;
15esac
16swift package --package-path apple resolve
17shared_native="${OFICINA_NATIVE_PACKAGE_PATH:-apple/.build/checkouts/native}"
18python3 "$shared_native/tools/bundle-mac.py" . Base --updates-config mac-updates.json "$@"
19