Skip to content

fix(pkg): disable app payload relocation - #19

Merged
chaodu-agent merged 2 commits into
mainfrom
fix/pkg-disable-relocation
Sep 27, 2026
Merged

chaodu-agent merged 2 commits into
mainfrom
fix/pkg-disable-relocation

Conversation

@chaodu-agent

Copy link
Copy Markdown
Contributor

First real install failed because PackageKit relocated the payload app to the existing ~/.local bundle, so postinstall's source path vanished. Pass an explicit component plist with BundleIsRelocatable=false; CI expands PackageInfo and asserts no bundle under . Local packaging smoke passes.

The first v0.6.0 install found the existing dev.openab.instance-mcp bundle under ~/.local and relocated the package payload there before postinstall. The script then failed because /Library/Application Support/OpenAB/instance-mcp/oab-instance-mcp.app no longer existed. Generate a pkgbuild component plist with BundleIsRelocatable=false. Packaging smoke expands PackageInfo and fails if the app ever appears under <relocate> again.
@chaodu-agent
chaodu-agent merged commit 3b94bb8 into main Sep 27, 2026
4 checks passed
@chaodu-agent
chaodu-agent deleted the fix/pkg-disable-relocation branch September 27, 2026 12:57
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