"os.release()" returns wrong / unexpected value on windows 11

,

I am testing on Windows 11, Premiere Beta (26.1.0 Beta build 8)
One of the function log the system info (to help with support / troubleshooting once shipped).

However when dumping the os info, some data seems wrong.

const os = require(‘os’);
os.platform() // OK (set to “win32”);
os.arch() // OK (set to “x64“);
os.release() // _NOT_ OK (set to “6.2.9200”. Using cmd on that same box, the "ver" command return “Microsoft Windows [Version 10.0.26200.7462]“)

This release (6.2.9200) seems to map to an older Windows 8 based release (RT).


Docs also report it should be “10.x.y.z” as one would expected.
Looks like a bug to me.

https://developer.adobe.com/premiere-pro/uxp/uxp-api/reference-js/Modules/os/OS/#release

1 Like

[This seems like an issue with UXP, and not specifically with PPro’s UXP APIs…]

I’ll ask the UXP team; we’re reporting what the OS provides. :slight_smile:

Any chance you’re running Windows within a VM?

Thanks Bruce.

No, it is NOT running inside a VM (with 96Gb of RAM available & 24 cores shown above, it would be a very big VM and defying most usecase for a VM :slight_smile: )

BTW, I came across the following - which may explain the problem (if not part of manifest, will return 6.2.9200)
I would guess that the app hosting UXP / the running NodeJs code may not have the proper manifest (if it is the case it would easily repro for you as well, on any window system).