Closed JaryGuo closed 1 year ago
You're saying _getWindowsBuildNumber()
is returning 60? I've never seen this, here's what is run, can you try debug it to see where 60 comes from?
i debug the electron app today, and the os.release() print out "6.0.6002"
it's weird. and i log out the os.release() in the node.js console, the result is "10.0.22621".
it seems to be the bug of nodejs
Environment details
today I encounter the exception:
and i try to debug the code in WindowsPtyAgent and finaly found that
is not correct for win11, which log out the version 60?? (sorry i debug in other colleague‘s computer)
and currently i just modified the code to
this._useConpty = true;
as in my teams, all computer os should be newer than 18309..Issue description