Skip to content

Document:Fix PowerShell command for decoding DeveloperData#553

Merged
frostebite merged 6 commits intogame-ci:mainfrom
DLSinnocence:patch-1
May 7, 2026
Merged

Document:Fix PowerShell command for decoding DeveloperData#553
frostebite merged 6 commits intogame-ci:mainfrom
DLSinnocence:patch-1

Conversation

@DLSinnocence
Copy link
Copy Markdown
Contributor

@DLSinnocence DLSinnocence commented Apr 14, 2026

Updated PowerShell command to decode base64 string correctly.

Changes

  • fixed the PowerShell example so the base64 decode runs inside ForEach-Object
    instead of piping into a static method call
  • resolved the parser error: ExpressionsMustBeFirstInPipeline
  • ensured the DeveloperData value from Unity_lic.ulf can be decoded as intended
  • improved the command so it works when copied directly in PowerShell

Notes

  • this is a documentation/example fix only
  • no runtime behavior or package logic was changed

Checklist

  • Read the contribution guide and accept the
    code of conduct
  • Readme (updated or not needed)
  • Tests (added, updated or not needed)

Summary by CodeRabbit

  • Documentation
    • Updated Windows PowerShell activation snippet: now reads the license file more reliably and uses a multi-step base64 extraction plus UTF-8 decoding flow to produce the license serial more consistently, improving activation guidance and reducing edge-case failures.

Updated PowerShell command to decode base64 string correctly.
@github-actions
Copy link
Copy Markdown

Cat Gif

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 14, 2026

Review Change Stack
No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 6dee37b3-d8e5-45a8-9868-3e6e81fa3eea

📥 Commits

Reviewing files that changed from the base of the PR and between 058d013 and 64b45c0.

📒 Files selected for processing (1)
  • docs/05-gitlab/02-activation.mdx
✅ Files skipped from review due to trivial changes (1)
  • docs/05-gitlab/02-activation.mdx

📝 Walkthrough

Walkthrough

Refactors the Windows PowerShell snippet in GitLab activation docs: reads .\Unity_lic.ulf, extracts the base64 DeveloperData via a multiline Get-Content | Select-String | ForEach-Object flow, stores it in $b64, then base64-decodes and UTF-8 decodes to produce the serial.

Changes

Documentation

Layer / File(s) Summary
PowerShell snippet refactor
docs/05-gitlab/02-activation.mdx
Replaces a single-line PowerShell pipeline with a multiline `Get-Content .\Unity_lic.ulf

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~5 minutes

Possibly related PRs

  • game-ci/documentation#492: Also modifies the Unity personal-license activation instructions in docs/05-gitlab/02-activation.mdx, addressing the .ulf serial extraction snippet.

Suggested reviewers

  • webbertakken

Poem

🐰 Hopped through files, a tiny code ballet,
I caught the base64 and led the way,
Decoded bytes in UTF-8 light,
A relative path made the snippet right,
Docs now hop forward — nibble, then play.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly describes the main change: fixing a PowerShell command for decoding DeveloperData, which directly aligns with the PR's core objective.
Description check ✅ Passed The description provides detailed changes, context, and notes, and includes a completed checklist matching the repository template requirements.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@DLSinnocence DLSinnocence changed the title Fix PowerShell command for decoding DeveloperData Document:Fix PowerShell command for decoding DeveloperData Apr 14, 2026
@frostebite frostebite enabled auto-merge (squash) May 6, 2026 20:31
@frostebite frostebite merged commit f72d25a into game-ci:main May 7, 2026
8 checks passed
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