Skip to content

fix: Improve Unity version checks and license activation#23

Merged
MtMath merged 2 commits intomasterfrom
fix/validation-adjusments
Dec 28, 2025
Merged

fix: Improve Unity version checks and license activation#23
MtMath merged 2 commits intomasterfrom
fix/validation-adjusments

Conversation

@MtMath
Copy link
Member

@MtMath MtMath commented Dec 28, 2025

Refactored getUnityExecutablePath for conciseness and updated isUnityVersionInstalled to use async fs.pathExists. Added credential validation to license activation, returning an error if required credentials are missing.

Refactored getUnityExecutablePath for conciseness and updated isUnityVersionInstalled to use async fs.pathExists. Added credential validation to license activation, returning an error if required credentials are missing.
@MtMath MtMath self-assigned this Dec 28, 2025
@MtMath MtMath added bug Something isn't working developer experience labels Dec 28, 2025
@MtMath MtMath requested a review from Copilot December 28, 2025 16:09
Copy link
Contributor

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 refactors Unity version checks and adds validation to license activation. The changes improve code conciseness and modernize file existence checks by adopting async patterns.

  • Simplified getUnityExecutablePath by removing an intermediate variable
  • Updated isUnityVersionInstalled to use async fs.pathExists instead of synchronous fs.existsSync
  • Added credential validation to activateLicense to catch missing credentials early

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@MtMath MtMath merged commit a251175 into master Dec 28, 2025
3 checks passed
@MtMath MtMath deleted the fix/validation-adjusments branch December 28, 2025 16:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working developer experience

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant