Skip to content

simplify the package choice declaration - #834

Closed
chris1111 wants to merge 1 commit into
CloverHackyColor:masterfrom
chris1111:master
Closed

simplify the package choice declaration#834
chris1111 wants to merge 1 commit into
CloverHackyColor:masterfrom
chris1111:master

Conversation

@chris1111

Copy link
Copy Markdown
Contributor

Description

Describe in detail what was changed.

Type of change

  • Bugfix
  • New functionality
  • Code improvements
  • Documentation update

Checklist

  • Tested my changes locally
  • Added relevant comments to the code
  • Updated the relevant documentation

Additional information

Include any extra details relevant to your PR.

Copilot AI lite review requested due to automatic review settings September 2, 2026 16:16

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟢 Approval recommended

The changes are small and localized to packaging scripts, with no confirmed functional regressions identified in the updated logic.

Pull request overview

This PR updates the Clover installer packaging scripts to simplify how the CloverLogoutHook package choice is declared/recorded during installation.

Changes:

  • Hard-codes the CloverLogoutHook installer choice key in its preinstall template instead of using a substitution placeholder.
  • Simplifies the addChoice invocation for the CloverLogoutHook package by removing explicit title/description arguments.
File summaries
File Description
CloverPackage/package/Scripts.templates/CloverLogoutHook/preinstall Updates how the selected-choice key is recorded for the CloverLogoutHook install step.
CloverPackage/package/buildpkg.sh Simplifies the CloverLogoutHook addChoice call formatting/arguments.
Review details
  • Files reviewed: 2/2 changed files
  • Comments generated: 1
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

CLOVER_INSTALLER_PLIST_NEW="${DEST_VOL}@CLOVER_INSTALLER_PLIST_NEW@"
install_log="${DEST_VOL}/Private/tmp/Clover_Install_Log.txt"
installer_choice="@INSTALLER_CHOICE@"
installer_choice="org.clover.cloverlogouthook"

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

So you have to correct all the po file because it will indicated on top of com.projectosx.clover.installer.plist @INSTALLER_CHOICE@ my commits is a temporary commmits while waiting for slice to adjust all the files po

@chris1111 chris1111 closed this Sep 2, 2026
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