Showing
1 changed file
with
1 additions
and
1 deletions
| @@ -11,7 +11,7 @@ function judgTerminal() { | @@ -11,7 +11,7 @@ function judgTerminal() { | ||
| 11 | const isXiaomi = u.indexOf('XiaoMi') > -1 // 小米手机 | 11 | const isXiaomi = u.indexOf('XiaoMi') > -1 // 小米手机 |
| 12 | const isAndroid = u.indexOf('Android') > -1 || u.indexOf('Linux') > -1 // 其它安卓 | 12 | const isAndroid = u.indexOf('Android') > -1 || u.indexOf('Linux') > -1 // 其它安卓 |
| 13 | const isIOS = !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/) // ios | 13 | const isIOS = !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/) // ios |
| 14 | - const isHarmony = u.indexOf('OpenHarmony') > -1 | 14 | + const isHarmony = u.indexOf('ArkWeb') > -1 |
| 15 | if (isAndroid) { | 15 | if (isAndroid) { |
| 16 | return 1 | 16 | return 1 |
| 17 | } else if (isIOS) { | 17 | } else if (isIOS) { |
-
Please register or login to post a comment