PrintToVeraeTimeStamp/platform/macos/pkg/Distribution.xml.in
George Lambert d82d0a59cf fix(macos-pkg): dark-mode contrast, RTF Agree, sidebar brand clip
Screenshots (Desktop 5.25–5.27 AM) showed:
- Light purple/white chips and table headers unreadable on dark Installer WebKit
- License page only Continue (HTML license); no Agree/Disagree
- Left background text truncated ("Verae Print Stam", cut tagline)

Fixes:
- welcome/readme/conclusion/license HTML: color-scheme + prefers-color-scheme dark,
  high-contrast chips/tables/boxes (no white-on-white)
- license.rtf primary in Distribution (Installer Agree/Disagree)
- background.png / background-dark.png: left plum column + logo, short labels only
- smoke-installer-ui.sh checks RTF + dark-mode CSS (19 PASS)

Rebuild: SKIP_SIGN=1 ./platform/macos/pkg/build-pkg.sh
2026-10-14 05:31:07 -04:00

67 lines
2.3 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<installer-gui-script minSpecVersion="2">
<title>Verae Print Stamp</title>
<organization>ai.verae</organization>
<!-- Product identification shown in Installer.app -->
<options
customize="never"
require-scripts="false"
hostArchitectures="x86_64,arm64"
rootVolumeOnly="true"/>
<domains enable_anywhere="false"
enable_currentUserHome="false"
enable_localSystem="true"/>
<!-- Verae branding backgrounds -->
<background file="background.png"
mime-type="image/png"
alignment="bottomleft"
scaling="proportional"/>
<background-darkAqua file="background-dark.png"
mime-type="image/png"
alignment="bottomleft"
scaling="proportional"/>
<!-- Welcome with product ID and brand (HTML is dark-mode safe) -->
<welcome file="welcome.html" mime-type="text/html" />
<!-- RTF license → Installer.app Agree / Disagree buttons (HTML alone often only shows Continue) -->
<license file="license.rtf" mime-type="application/rtf" />
<!-- Explicit product identification sheet -->
<readme file="readme.html" mime-type="text/html" />
<conclusion file="conclusion.html" mime-type="text/html" />
<installation-check script="pm_install_check()"/>
<script>
<![CDATA[
function pm_install_check() {
if (!(system.compareVersions(system.version.ProductVersion, '14.0') >= 0)) {
my.result.type = 'Fatal';
my.result.message = 'Verae Print Stamp requires macOS 14 or later.';
return false;
}
return true;
}
]]>
</script>
<choices-outline>
<line choice="verae-print-stamp"/>
</choices-outline>
<choice id="verae-print-stamp"
visible="false"
title="Verae Print Stamp"
description="Verae Print Stamp (PrintIt). Product ID ai.verae.print-stamp. Installs the branded app, helper, and print integration.">
<pkg-ref id="@PKG_ID@"/>
</choice>
<pkg-ref id="@PKG_ID@"
version="@VERSION@"
auth="Root"
onConclusion="none">@COMPONENT_NAME@</pkg-ref>
</installer-gui-script>