UI: Implement JavaScript getOS function Windows platform architecture detection #104136

Merged
Márton Lente merged 15 commits from get-os-win-arm into main 2024-11-08 12:03:41 +01:00
Showing only changes of commit 176cfa7d89 - Show all commits

View File

@ -99,6 +99,18 @@ function getOS() {
getOSFreeBSDVersion();
}
function initAsync() {
navigator.userAgentData.getHighEntropyValues(["architecture", "bitness"])
.then(function(ua) {
// TODO: create function getOSWinVersionAsync
// getOSWinVersionAsync();
getOSMacVersion();
getOSLinuxVersion();
getOSiPadVersion();
getOSFreeBSDVersion();
})
}
init();
return OS;