youxiaohou
youxiaohou
检测 win11 https://docs.microsoft.com/zh-cn/microsoft-edge/web-platform/how-to-detect-win11 ```js //以下代码将检测Windows 11: navigator.userAgentData.getHighEntropyValues(["platformVersion"]) .then(ua => { if (navigator.userAgentData.platform === "Windows") { const majorPlatformVersion = parseInt(ua.platformVersion.split('.')[0]); if (majorPlatformVersion >= 13) { console.log("Windows 11 or later"); } else...
@Caesar008 You can use https://storeedgefd.dsx.mp.microsoft.com/v9.0/packageManifests/XPDM27W10192Q0?Market=US to get the installer for the app start with x which is not appx/msix package
I have the same problem whern runing ctyle for request for a long time
I like it