diff --git a/dist/better-xcloud.lite.user.js b/dist/better-xcloud.lite.user.js index 18e2975..5a07860 100755 --- a/dist/better-xcloud.lite.user.js +++ b/dist/better-xcloud.lite.user.js @@ -1,7 +1,7 @@ // ==UserScript== // @name Better xCloud (Lite) // @namespace https://github.com/redphx -// @version 6.0.3-beta +// @version 6.0.3 // @description Improve Xbox Cloud Gaming (xCloud) experience // @author redphx // @license MIT @@ -105,7 +105,7 @@ class UserAgent { }); } } -var SCRIPT_VERSION = "6.0.3-beta", SCRIPT_VARIANT = "lite", AppInterface = window.AppInterface; +var SCRIPT_VERSION = "6.0.3", SCRIPT_VARIANT = "lite", AppInterface = window.AppInterface; UserAgent.init(); var userAgent = window.navigator.userAgent.toLowerCase(), isTv = userAgent.includes("smart-tv") || userAgent.includes("smarttv") || /\baft.*\b/.test(userAgent), isVr = window.navigator.userAgent.includes("VR") && window.navigator.userAgent.includes("OculusBrowser"), browserHasTouchSupport = "ontouchstart" in window || navigator.maxTouchPoints > 0, userAgentHasTouchSupport = !isTv && !isVr && browserHasTouchSupport, STATES = { supportedRegion: !0, @@ -269,8 +269,6 @@ var SUPPORTED_LANGUAGES = { "zh-CN": "中文(简体)", "zh-TW": "中文(繁體)" }, Texts = { - "button-xbox": "Xbox button", - press: "Press", activate: "Activate", activated: "Activated", active: "Active", @@ -298,6 +296,7 @@ var SUPPORTED_LANGUAGES = { brazil: "Brazil", brightness: "Brightness", "browser-unsupported-feature": "Your browser doesn't support this feature", + "button-xbox": "Xbox button", "bypass-region-restriction": "Bypass region restriction", "can-stream-xbox-360-games": "Can stream Xbox 360 games", cancel: "Cancel", @@ -462,6 +461,7 @@ var SUPPORTED_LANGUAGES = { "prefer-ipv6-server": "Prefer IPv6 server", "preferred-game-language": "Preferred game's language", preset: "Preset", + press: "Press", "press-esc-to-cancel": "Press Esc to cancel", "press-key-to-toggle-mkb": [ e => `Press ${e.key} to toggle this feature`, diff --git a/dist/better-xcloud.meta.js b/dist/better-xcloud.meta.js index 9b2b42b..73f9f64 100644 --- a/dist/better-xcloud.meta.js +++ b/dist/better-xcloud.meta.js @@ -1,5 +1,5 @@ // ==UserScript== // @name Better xCloud // @namespace https://github.com/redphx -// @version 6.0.2 +// @version 6.0.3 // ==/UserScript== diff --git a/dist/better-xcloud.user.js b/dist/better-xcloud.user.js index 3f98a05..bc56fae 100755 --- a/dist/better-xcloud.user.js +++ b/dist/better-xcloud.user.js @@ -1,7 +1,7 @@ // ==UserScript== // @name Better xCloud // @namespace https://github.com/redphx -// @version 6.0.3-beta +// @version 6.0.3 // @description Improve Xbox Cloud Gaming (xCloud) experience // @author redphx // @license MIT @@ -107,7 +107,7 @@ class UserAgent { }); } } -var SCRIPT_VERSION = "6.0.3-beta", SCRIPT_VARIANT = "full", AppInterface = window.AppInterface; +var SCRIPT_VERSION = "6.0.3", SCRIPT_VARIANT = "full", AppInterface = window.AppInterface; UserAgent.init(); var userAgent = window.navigator.userAgent.toLowerCase(), isTv = userAgent.includes("smart-tv") || userAgent.includes("smarttv") || /\baft.*\b/.test(userAgent), isVr = window.navigator.userAgent.includes("VR") && window.navigator.userAgent.includes("OculusBrowser"), browserHasTouchSupport = "ontouchstart" in window || navigator.maxTouchPoints > 0, userAgentHasTouchSupport = !isTv && !isVr && browserHasTouchSupport, STATES = { supportedRegion: !0, @@ -298,8 +298,6 @@ var SUPPORTED_LANGUAGES = { "zh-CN": "中文(简体)", "zh-TW": "中文(繁體)" }, Texts = { - "button-xbox": "Xbox button", - press: "Press", activate: "Activate", activated: "Activated", active: "Active", @@ -327,6 +325,7 @@ var SUPPORTED_LANGUAGES = { brazil: "Brazil", brightness: "Brightness", "browser-unsupported-feature": "Your browser doesn't support this feature", + "button-xbox": "Xbox button", "bypass-region-restriction": "Bypass region restriction", "can-stream-xbox-360-games": "Can stream Xbox 360 games", cancel: "Cancel", @@ -491,6 +490,7 @@ var SUPPORTED_LANGUAGES = { "prefer-ipv6-server": "Prefer IPv6 server", "preferred-game-language": "Preferred game's language", preset: "Preset", + press: "Press", "press-esc-to-cancel": "Press Esc to cancel", "press-key-to-toggle-mkb": [ e => `Press ${e.key} to toggle this feature`, diff --git a/src/utils/translation.ts b/src/utils/translation.ts index 9b167cd..5db5a45 100755 --- a/src/utils/translation.ts +++ b/src/utils/translation.ts @@ -27,8 +27,6 @@ export const SUPPORTED_LANGUAGES = { }; const Texts = { - "button-xbox": "Xbox button", - "press": "Press", "activate": "Activate", "activated": "Activated", "active": "Active", @@ -56,6 +54,7 @@ const Texts = { "brazil": "Brazil", "brightness": "Brightness", "browser-unsupported-feature": "Your browser doesn't support this feature", + "button-xbox": "Xbox button", "bypass-region-restriction": "Bypass region restriction", "can-stream-xbox-360-games": "Can stream Xbox 360 games", "cancel": "Cancel", @@ -220,6 +219,7 @@ const Texts = { "prefer-ipv6-server": "Prefer IPv6 server", "preferred-game-language": "Preferred game's language", "preset": "Preset", + "press": "Press", "press-esc-to-cancel": "Press Esc to cancel", "press-key-to-toggle-mkb": [ (e: any) => `Press ${e.key} to toggle this feature`,