fix: Change platform generating code
requested to merge 1303-inconsistent-user-agent-version-causes-problem-with-usage-counters into main
Description
Using the much more reliable runtime.GOOS
to get platform information
How has this been tested?
Screenshots (if appropriate):
Types of changes
-
Bug fix (non-breaking change which fixes an issue) -
New feature (non-breaking change which adds functionality) -
Breaking change (fix or feature that would cause existing functionality to change) -
Documentation -
Chore (Related to CI or Packaging to platforms) -
Test gap
Edited by Gary Holtz