X-Git-Url: https://git.josue.xyz/?a=blobdiff_plain;f=_webi%2Fua-detect.js;h=315046ce5fb69dc0218746882603ebd0a2096226;hb=46445e9382905a52e770d44191235be179616049;hp=426db69615e15ed13c686b5afdb17ad1c8e37376;hpb=76776e9d5403d59b2cd5cba16d84f819a56bc5aa;p=webi-installers%2F.git diff --git a/_webi/ua-detect.js b/_webi/ua-detect.js index 426db69..315046c 100644 --- a/_webi/ua-detect.js +++ b/_webi/ua-detect.js @@ -54,7 +54,7 @@ function getArch(ua) { return '-'; } - // quick hack for Apple Silicon M1 + // quick hack for Apple Silicon M1 // Native: Darwin boomer.local 20.2.0 Darwin Kernel Version 20.2.0: Wed Dec 2 20:40:21 PST 2020; root:xnu-7195.60.75~1/RELEASE_ARM64_T8101 arm64 // Resetta: Darwin boomer.local 20.2.0 Darwin Kernel Version 20.2.0: Wed Dec 2 20:40:21 PST 2020; root:xnu-7195.60.75~1/RELEASE_ARM64_T8101 x86_64 ua = ua.replace(/xnu-.*RELEASE_[^\s]*/, '')