System profile installation #27
Notifications
Due Date
No due date set.
Depends on
#52 Milestone 5 Bugfixes
gronod/iccery-v2-mac
Reference: gronod/iccery-v2-mac#27
Reference in New Issue
Block a user
Summary
Copy never move. ColorSync folders. Collision dialog.
Spec refs
docs/19-profile-install.md, 17-stage5-verification.md. #223 #69.
Scope
In: installProfileToSystem, UI, settings bindings.
Out: system-folder elevation helper beyond a guidance message.
Implementation notes
Destinations:
~/Library/ColorSync/Profiles(user) //Library/ColorSync/Profiles(system; error text MUST mention admin rights).Filename
{stem}.icc. Reject stem.. / \.Source checks: file exists,
.icc/.icm, ≥128 bytes.Collision: overwrite | rename
{stem}-{epoch}.icc| cancel. Honourask_before_overwrite_profile/force_overwrite.Atomic
{dest}.iccery-install.tmp+ rename. Create parents.Registration = presence in ColorSync folder.
open_color_panel→open -a "ColorSync Utility".InstallResult{dest_path, registered, overwritten, renamed, opened_panel, message, calibration_note}.Working artefact stays put for Stage 5 / drift.
Rewrite invariants
#223 copy never move; never register a failed copy.
Dependencies
Blocks-on: 6, 5, 23.
Unblocks: none.
Test
Acceptance criteria