Fix #565 - Add new OS: HarmonyOS

This commit is contained in:
Faisal Salman
2022-06-30 23:46:42 +07:00
parent 180846b80a
commit a5cdc2975b
3 changed files with 16 additions and 6 deletions

View File

@@ -701,7 +701,7 @@
], [[NAME, 'Mac OS'], [VERSION, /_/g, '.']], [
// Mobile OSes
/droid ([\w\.]+)\b.+(android[- ]x86)/i // Android-x86
/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i // Android-x86/HarmonyOS
], [VERSION, NAME], [ // Android/WebOS/QNX/Bada/RIM/Maemo/MeeGo/Sailfish OS
/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,
/(blackberry)\w*\/([\w\.]*)/i, // Blackberry