Skip to content

Run a user-provided post-install script if present#124

Merged
freakboy3742 merged 1 commit into
beeware:mainfrom
haikesan:post-install-script
Jun 25, 2026
Merged

Run a user-provided post-install script if present#124
freakboy3742 merged 1 commit into
beeware:mainfrom
haikesan:post-install-script

Conversation

@haikesan

@haikesan haikesan commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

Adds support for the macOS post_install_script setting.

The templated postinstall script now invokes a sibling _postinstall script if Briefcase has installed one (from a project's post_install_script setting), so the user's script runs as its own process with its own interpreter. The console binary symlink is now only included for console apps.

Companion to beeware/briefcase#2903 — these need to be merged together, as the Briefcase change relies on the _postinstall hook added here.

PR Checklist:

  • I will abide by the BeeWare Code of Conduct
  • I have read and have followed the CONTRIBUTING.md file
  • This PR was generated or assisted using an AI tool

Assisted-by: Claude Code (Opus 4.8)

@freakboy3742 freakboy3742 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome - thanks for the update!

@freakboy3742 freakboy3742 merged commit 86fb158 into beeware:main Jun 25, 2026
21 of 23 checks passed
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.

2 participants