Skip to content

Prevent installer bundle relocation - #5

Merged
lyc280705 merged 1 commit into
mainfrom
agent/fix-package-relocation
Jul 11, 2026
Merged

Prevent installer bundle relocation#5
lyc280705 merged 1 commit into
mainfrom
agent/fix-package-relocation

Conversation

@lyc280705

Copy link
Copy Markdown
Owner

What changed

  • Add an explicit pkgbuild component property list that marks the app and Finder service as non-relocatable.
  • Pass that property list into pkgbuild so CleanZip.app stays fixed at /Applications.
  • Expand every generated package and fail packaging if PackageInfo contains a relocatable bundle or the app path differs from /Applications.
  • Bump the release build and documentation to 2.6.34.

Root cause

PackageKit discovered another CleanZip bundle with the same identifier inside the development workspace and relocated the installer payload there. The system install receipt was written and the Finder service landed correctly, but /Applications/CleanZip.app was never created.

Validation

  • The pre-fix Installer log records Applications/CleanZip.app being relocated into work/CleanZipBuild/CleanZip.app.
  • The fixed package has an empty relocate section and records the app bundle at ./Applications/CleanZip.app.
  • Table/archive tests, universal architecture checks, code-signature checks, ZIP metadata checks, and package checksums pass.

@lyc280705
lyc280705 marked this pull request as ready for review July 11, 2026 13:40
@lyc280705
lyc280705 merged commit f813971 into main Jul 11, 2026
1 check passed
@lyc280705
lyc280705 deleted the agent/fix-package-relocation branch July 11, 2026 13:40
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.

1 participant