Fix #601 - Detect Chrome OS without version

This commit is contained in:
Faisal Salman
2023-01-31 15:09:14 +07:00
parent c9d1ab9561
commit f8e5a1fb4f
2 changed files with 10 additions and 1 deletions

View File

@@ -738,7 +738,7 @@
// Google Chromecast
/crkey\/([\d\.]+)/i // Google Chromecast
], [VERSION, [NAME, CHROME+'cast']], [
/(cros) [\w]+ ([\w\.]+\w)/i // Chromium OS
/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i // Chromium OS
], [[NAME, 'Chromium OS'], VERSION],[
// Smart TVs