Skip to content

Conversation

@StephenHodgson
Copy link
Member

@StephenHodgson StephenHodgson commented Sep 28, 2025

  • added hub-install --auto-update arg

- added hub-install --auto-update arg
Copilot AI review requested due to automatic review settings September 28, 2025 01:36
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds a new --auto-update flag to the hub-install command, allowing users to control whether Unity Hub should be automatically updated when already installed. The version is bumped to 1.0.4.

  • Added autoUpdate parameter to UnityHub.Install() method with default value of true
  • Added --auto-update CLI option to hub-install command
  • Updated GitHub workflow to use the new --auto-update flag

Reviewed Changes

Copilot reviewed 4 out of 5 changed files in this pull request and generated 2 comments.

File Description
src/unity-hub.ts Added autoUpdate parameter to control hub update behavior
src/cli.ts Added --auto-update option and logic to parse it
package.json Version bump to 1.0.4
.github/workflows/unity-build.yml Updated workflow to use new --auto-update flag

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@StephenHodgson StephenHodgson merged commit 774e3ca into main Sep 28, 2025
3 checks passed
@StephenHodgson StephenHodgson deleted the development branch September 28, 2025 01:39
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