1
0
mirror of https://github.com/lancedikson/bowser synced 2026-03-02 03:40:27 +00:00

feat: add Smart TV platform detection (#582)

This commit is contained in:
Copilot
2026-02-07 18:44:55 +02:00
committed by GitHub
parent 227f5ecd4b
commit a2d6ce81b1
2 changed files with 72 additions and 10 deletions

View File

@@ -483,6 +483,26 @@ export default [
},
},
/* Smart TV */
{
test: [/smart-?tv|smarttv/i],
describe() {
return {
type: PLATFORMS_MAP.tv,
};
},
},
/* NetCast (LG Smart TV) */
{
test: [/netcast/i],
describe() {
return {
type: PLATFORMS_MAP.tv,
};
},
},
/* desktop */
{
test(parser) {