A local-first private AI assistant for everyday use. Runs on-device models with encrypted P2P sync, and supports sharing chats publicly on ATProto.
1#!/usr/bin/env bash
2
3set -euo pipefail
4
5VERSION=$(grep '^version' tiles/Cargo.toml | head -1 | awk -F'"' '{print $2}')
6
7productbuild \
8 --distribution pkg/distribution_network.xml \
9 --resources pkg/resources \
10 --package-path pkg/ \
11 pkg/tiles-dist-unsigned.pkg
12
13
14# signing
15productsign \
16 --sign "$DEVELOPER_ID_INSTALLER" \
17 pkg/tiles-dist-unsigned.pkg \
18 pkg/tiles.pkg
19
20# notarizing
21xcrun notarytool submit pkg/tiles.pkg \
22 --keychain-profile "tiles-notary-profile" \
23 --wait
24
25# staple the approval ticket to pkg
26xcrun stapler staple pkg/tiles.pkg
27
28rm pkg/tiles-unsigned.pkg
29rm pkg/tiles-dist-unsigned.pkg