Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Parser/AbstractParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -351,6 +351,7 @@ protected function hasDesktopFragment(): bool
'CE-HTML',
' Mozilla/|Andr[o0]id|Tablet|Mobile|iPhone|Windows Phone|ricoh|OculusBrowser',
'PicoBrowser|Lenovo|compatible; MSIE|Trident/|Tesla/|XBOX|FBMD/|ARM; ?([^)]+)',
'Steam',
]);

return
Expand Down
1 change: 1 addition & 0 deletions Parser/Device/AbstractDeviceParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -1998,6 +1998,7 @@ abstract class AbstractDeviceParser extends AbstractParser
'VAL' => 'VALEM',
'VA2' => 'VALE',
'VAT' => 'VALTECH',
'VLV' => 'Valve Corporation',
'VAN' => 'VANGUARD',
'VAW' => 'VANWIN',
'VB' => 'VC',
Expand Down
3 changes: 2 additions & 1 deletion Parser/OperatingSystem.php
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,7 @@ class OperatingSystem extends AbstractParser
'SMA' => 'Smartisan OS',
'SOS' => 'Solaris',
'SBL' => 'Star-Blade OS',
'STM' => 'SteamOS',
'SYL' => 'Syllable',
'SYM' => 'Symbian',
'SYS' => 'Symbian OS',
Expand Down Expand Up @@ -287,7 +288,7 @@ class OperatingSystem extends AbstractParser
'KOB', 'FRT',
],
'Mac' => ['MAC'],
'Mobile Gaming Console' => ['PSP', 'NDS', 'XBX'],
'Mobile Gaming Console' => ['PSP', 'NDS', 'XBX', 'STM'],
'OpenHarmony' => ['OHS', 'HNX'],
'OpenVMS' => ['OVS'],
'Real-time OS' => ['MTK', 'TDX', 'MRE', 'JME', 'REX', 'RXT', 'KOL', 'MOS', 'NTX'],
Expand Down
9 changes: 9 additions & 0 deletions Tests/Parser/Client/fixtures/browser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11703,3 +11703,12 @@
engine: Blink
engine_version: ""
family: Chrome
-
user_agent: Mozilla/5.0 (X11; Linux x86_64; Valve Steam GameOverlay; ) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.102 Safari/537.36
client:
type: browser
name: Steam In-Game Overlay
version: ""
engine: Blink
engine_version: 85.0.4183.102
family: Chrome
8 changes: 8 additions & 0 deletions Tests/Parser/fixtures/oss.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7226,3 +7226,11 @@
version: "7.0"
platform: ""
family: GNU/Linux
-
user_agent: Mozilla/5.0 (X11; Linux x86_64; Valve Steam GameOverlay; ) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.102 Safari/537.36
os:
name: SteamOS
short_name: STM
version: ""
platform: x64
family: Mobile Gaming Console
36 changes: 36 additions & 0 deletions Tests/fixtures/console.yml
Original file line number Diff line number Diff line change
Expand Up @@ -846,3 +846,39 @@
model: Switch Lite
os_family: Gaming Console
browser_family: NetFront
-
user_agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 SteamDeck
os:
name: SteamOS
version: ""
platform: x64
client:
type: browser
name: Chrome
version: 131.0.0.0
engine: Blink
engine_version: 131.0.0.0
device:
type: console
brand: Valve Corporation
model: Steam Deck
os_family: Mobile Gaming Console
browser_family: Chrome
-
user_agent: Mozilla/5.0 (X11; Linux x86_64; Valve Steam GameOverlay; ) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.102 Safari/537.36
os:
name: SteamOS
version: ""
platform: x64
client:
type: browser
name: Steam In-Game Overlay
version: ""
engine: Blink
engine_version: 85.0.4183.102
device:
type: console
brand: Valve Corporation
model: ""
os_family: Mobile Gaming Console
browser_family: Chrome
2 changes: 1 addition & 1 deletion regexes/client/browsers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1455,7 +1455,7 @@
version: '$1'

# Steam (https://www.valvesoftware.com/)
- regex: 'Valve Steam GameOverlay/(?:(\d+[.\d]+))?'
- regex: 'Valve Steam GameOverlay(?:/(\d+[.\d]+))?'
name: 'Steam In-Game Overlay'
version: '$1'

Expand Down
8 changes: 8 additions & 0 deletions regexes/device/consoles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,3 +82,11 @@ Retroid Pocket:
model: '4 Pro'
- regex: 'Pocket ([235])'
model: '$1'

# Valve Corporation (https://www.steamdeck.com/en/)
Valve Corporation:
regex: 'Steam'
device: 'console'
models:
- regex: 'SteamDeck'
model: 'Steam Deck'
7 changes: 7 additions & 0 deletions regexes/oss.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@
# @license http://www.gnu.org/licenses/lgpl.html LGPL v3 or later
###############

##########
# SteamOS (https://store.steampowered.com/steamos)
##########
- regex: 'Steam'
name: 'SteamOS'
version: ''

##########
# FortiOS (https://www.fortinet.com/products/fortigate/fortios)
##########
Expand Down
Loading