unity-cli@v1.2.0#20
Merged
StephenHodgson merged 11 commits intomainfrom Oct 6, 2025
Merged
Conversation
Member
StephenHodgson
commented
Oct 6, 2025
- Refactor LicenseClient.Active with a new ActivateOptions interface for input parameters
- Refactor Hub installation on windows to invoke UAC when installing hub
- Added command groups when running help command
- Added list-project-templates command to list available templates for a given unity editor
- Refactor LicenseClient.Active with a new ActivateOptions interface for input parameters - Refactor Hub installation on windows to invoke UAC when installing hub - Added command groups when running help command - Added list-project-templates command to list available templates for a given unity editor
There was a problem hiding this comment.
Pull Request Overview
This PR introduces version 1.2.0 of the unity-cli with several key improvements including better licensing API design, enhanced Windows installation security, and improved CLI organization.
- Refactored LicenseClient.Active method to use a structured ActivateOptions interface
- Enhanced Windows installations to invoke UAC for proper administrative privileges
- Added command grouping for better help organization and a new list-project-templates command
Reviewed Changes
Copilot reviewed 7 out of 8 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| src/utilities.ts | Added -NoProfile flag to PowerShell execution and new EscapeRegex utility function |
| src/unity-hub.ts | Modified Windows installations to use UAC elevation via Start-Process -Verb RunAs |
| src/unity-editor.ts | Refactored template handling with new GetAvailableTemplates method and improved regex escaping |
| src/logging.ts | Renamed CI-specific methods with CI_ prefix for better clarity |
| src/license-client.ts | Introduced ActivateOptions interface to replace multiple parameters in Activate method |
| src/cli.ts | Added command groups, update notifications, and new list-project-templates command |
| package.json | Version bump to 1.2.0 and added update-notifier dependency |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
There was a problem hiding this comment.
Pull Request Overview
Copilot reviewed 12 out of 13 changed files in this pull request and generated 5 comments.
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.