Commit 6907af3
committed
fix(osx): set BUNDLE_CAN_DOWNGRADE
Enables atomic replacement of the outer @APPLICATION_NAME@.app
payload during install/upgrade instead of PackageKit's default
file by file diff.
Without this, installing a rebranded client over an existing
install like a legacy client receipt being upgraded
via APPLICATION_REV_DOMAIN_INSTALLER can leave stale files from
the previous bundle mixed with the new payload, producing an
invalid code signature ("a sealed resource is missing or
invalid") that fails Gatekeeper/launchd validation on next boot.
Signed-off-by: Camila Ayres <camila.ayres@nextcloud.com>1 parent 05d08d7 commit 6907af3
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
| 21 | + | |
20 | 22 | | |
21 | 23 | | |
22 | 24 | | |
| |||
0 commit comments