Skip to content

fix(macos): prevent Server Desktop PKG relocation - #104

Open
Emran025 wants to merge 1 commit into
build/node26-cross-platform-serverfrom
fix/macos-server-desktop-pkg-location
Open

fix(macos): prevent Server Desktop PKG relocation#104
Emran025 wants to merge 1 commit into
build/node26-cross-platform-serverfrom
fix/macos-server-desktop-pkg-location

Conversation

@Emran025

Copy link
Copy Markdown
Owner

Purpose

Fixes the macOS Server Desktop PKG test failure where PackageKit relocates the app outside /Applications, causing postinstall to fail before it can start the Server Agent.

Change scope

  • Generates a package component policy with BundleIsRelocatable=false.
  • Applies it only to build-server-desktop-macos-package.mjs.
  • Adds focused policy tests.
  • Does not change main, Windows, Linux, client, or Headless package paths.

Validation

  • node --check passed for each changed JavaScript file.
  • node --test scripts/macos-app-bundle-policy.test.mjs passed: 4/4.
  • CI must confirm the actual installer contract on both macos-15 and macos-15-intel.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

1 participant