Skip to content

Commit

Permalink
Improves detection for Chrome OS
Browse files Browse the repository at this point in the history
  • Loading branch information
liviuconcioiu committed Sep 20, 2024
1 parent 45c0e98 commit 8765dbb
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions Tests/Parser/fixtures/oss.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5230,3 +5230,11 @@
version: 14816.131.0
platform: ""
family: Chrome OS
-
user_agent: Dalvik/2.1.0 (Linux; U; Android 11; octopus Build/R119-15633.72.0)
os:
name: Chrome OS
short_name: COS
version: 15633.72.0
platform: ""
family: Chrome OS
2 changes: 1 addition & 1 deletion regexes/oss.yml
Original file line number Diff line number Diff line change
Expand Up @@ -690,7 +690,7 @@
##########
# ChromeOS
##########
- regex: '(?:CrOS [a-z0-9_]+ |Chromebook.*Build/R\d+-)(\d+[\.\d]+)|Chromebook'
- regex: '(?:CrOS [a-z0-9_]+ |.*Build/R\d+-)(\d+[\.\d]+)|Chromebook'
name: 'Chrome OS'
version: '$1'

Expand Down

0 comments on commit 8765dbb

Please sign in to comment.