2 Commits
Author SHA1 Message Date
Michael Herrmann fca585ac33 Reinstate upstream's pkg preinstall script (#36965) 2026-06-05 18:02:03 +02:00
Emerick Rogul 3f7d98d11f [cr146] Mac pkg now has a preinstall script
We already supported the postinstall script. This just adds support for the new
preinstall script.

Chromium changes:
https://chromium.googlesource.com/chromium/src/+/020f74a05f2bfde21ea239cea02e53671c6ae506

commit 020f74a05f2bfde21ea239cea02e53671c6ae506
Author: Avi Drissman <avi@chromium.org>
Date:   Fri Feb 6 10:54:22 2026 -0800

    Harden the pkg with a pre-install script

    If Installer.app finds an app with the correct name but an incorrect
    bundle ID in the target installation directory, it misbehaves. Add a
    pre-install script to the pkg to fail early if that is the case.

    Fixed: 481590122
    Change-Id: I47017e17d1506e0e0a17083842d3e4201710e127
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7544462
    Reviewed-by: Mark Mentovai <mark@chromium.org>
    Commit-Queue: Mark Mentovai <mark@chromium.org>
    Auto-Submit: Avi Drissman <avi@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#1580983}
2026-02-26 14:14:54 +00:00