Skip to content

fix(cmake): set cmake var APPLICATION_REV_DOMAIN_INSTALLER - #10699

Merged
camilasan merged 2 commits into
masterfrom
bugfix/noid/overwritelegacyclient
Sep 1, 2026
Merged

fix(cmake): set cmake var APPLICATION_REV_DOMAIN_INSTALLER #10699
camilasan merged 2 commits into
masterfrom
bugfix/noid/overwritelegacyclient

Conversation

@camilasan

@camilasan camilasan commented Aug 31, 2026

Copy link
Copy Markdown
Member

Resolves

It allows the client to install over another legacy client on macOS.

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.

To do

  • test it with the brander

Checklist

AI (if applicable)

@camilasan camilasan added this to the 34.0.4 milestone Aug 31, 2026
@camilasan
camilasan force-pushed the bugfix/noid/overwritelegacyclient branch from ae1bddc to aaf9f1d Compare August 31, 2026 12:59
@camilasan camilasan changed the title fix(Worker): set cmake var APPLICATION_REV_DOMAIN_INSTALLER fix(cmake): set cmake var APPLICATION_REV_DOMAIN_INSTALLER Aug 31, 2026
Use a legacy installer identifier for migrating a branded
client to a new bundle identifier, letting PackageKit
recognize the new package as an upgrade of the existing
receipt.

Signed-off-by: Camila Ayres <camila.ayres@nextcloud.com>
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>
@camilasan
camilasan force-pushed the bugfix/noid/overwritelegacyclient branch from aaf9f1d to 6907af3 Compare August 31, 2026 17:21
@camilasan
camilasan marked this pull request as ready for review August 31, 2026 17:21
@sonarqubecloud

Copy link
Copy Markdown

@camilasan

Copy link
Copy Markdown
Member Author

/backport to stable-34.0

@github-actions

Copy link
Copy Markdown
Contributor

Artifact containing the AppImage: nextcloud-appimage-pr-10699.zip

Digest: sha256:ed3ce177bc457ef3e5d6f7bc82d2baf2c88912c0a86a23be68d724cfebd02bef

To test this change/fix you can download the above artifact file, unzip it, and run it.

Please make sure to quit your existing Nextcloud app and backup your data.

@camilasan
camilasan merged commit 4955eb4 into master Sep 1, 2026
36 checks passed
@camilasan
camilasan deleted the bugfix/noid/overwritelegacyclient branch September 1, 2026 08:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants