mirror of
https://github.com/Louis-CFM/coucou.git
synced 2026-12-07 07:32:35 +09:00
Coucou looks at its own GitHub releases (after the user said yes, a few times a day) and Mochi says "Coucou X is out" in the notch: Update now, What's new, Later. The click downloads Coucou.zip from GitHub only, checks it is Coucou at the announced version, signed with Louis's Developer ID and accepted by Gatekeeper, swaps the app in place and restarts. Outside /Applications it points to the release page. Settings > General > Updates: the toggle, Check now, Install. GitHub build only. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LJm3SRL9k3gBPaVtfPhwcT
8 lines
294 B
Bash
Executable File
8 lines
294 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
cd "$(dirname "$0")/.."
|
|
TEST_DIR="$(mktemp -d "${TMPDIR:-/tmp}/coucou-mac-update.XXXXXX")"
|
|
trap 'rm -rf "$TEST_DIR"' EXIT
|
|
swiftc NotchBuddy/Sources/App/MacUpdate.swift tests/MacUpdateTests.swift -o "$TEST_DIR/mac-update-tests"
|
|
"$TEST_DIR/mac-update-tests"
|