Add the Stage 4/5 native workflow: deterministic colprof/applycal/iccgamut and profcheck argv builders, verification history with CSV export and drift analytics, user/system ColorSync profile installation, and the matching SwiftUI views and fixture-driven tests. All Argyll interaction remains AGPL-isolated via ProcessManager subprocesses. Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
14 lines
380 B
Bash
Executable File
14 lines
380 B
Bash
Executable File
#!/bin/sh
|
|
# Mock iccgamut for Milestone 5 UI tests.
|
|
# Writes {stem}.gam next to the profile path.
|
|
last=""
|
|
for arg in "$@"; do last="$arg"; done
|
|
if [ "${ICCERY_MOCK_ICCGAMUT_EXIT:-0}" -ne 0 ]; then
|
|
echo "mock iccgamut failure" >&2
|
|
exit "$ICCERY_MOCK_ICCGAMUT_EXIT"
|
|
fi
|
|
stem=$(basename "$last" | sed 's/\.icc$//; s/\.icm$//')
|
|
dir=$(dirname "$last")
|
|
touch "$dir/$stem.gam"
|
|
exit 0
|