Skip to content

chore: append bundle version to mach service name #191

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 26, 2025

Conversation

ethanndickson
Copy link
Member

@ethanndickson ethanndickson commented Jun 26, 2025

We append the CFBundleVersion to the service name to ensure a new service is used for each version. This works around the issue described in #121, presumably caused by the XPC service cache not being invalidated on update.

From thread:

image

Copy link
Member Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

logger.info("App upgrade detected, replacing and then reinstalling")
action = .replacing
// logger.info("App upgrade detected, replacing and then reinstalling")
// action = .replacing
Copy link
Member Author

Choose a reason for hiding this comment

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

This disables the previous workaround (the extra prompts on upgrade)

@ethanndickson ethanndickson marked this pull request as ready for review June 26, 2025 02:05
Copy link
Member Author

ethanndickson commented Jun 26, 2025

Merge activity

  • Jun 26, 2:24 AM UTC: A user started a stack merge that includes this pull request via Graphite.
  • Jun 26, 2:24 AM UTC: @ethanndickson merged this pull request with Graphite.

@ethanndickson ethanndickson merged commit c19b39a into main Jun 26, 2025
4 checks passed
@ethanndickson ethanndickson deleted the ethan/append-version-service-name branch June 26, 2025 02:24
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