Bump version to 6.5.0

This commit is contained in:
redphx 2025-04-26 08:30:53 +07:00
parent 604cf7094a
commit e502e49d64
3 changed files with 9 additions and 9 deletions

View File

@ -1,5 +1,5 @@
// ==UserScript== // ==UserScript==
// @name Better xCloud // @name Better xCloud
// @namespace https://github.com/redphx // @namespace https://github.com/redphx
// @version 6.4.10 // @version 6.5.0
// ==/UserScript== // ==/UserScript==

View File

@ -1,7 +1,7 @@
// ==UserScript== // ==UserScript==
// @name Better xCloud // @name Better xCloud
// @namespace https://github.com/redphx // @namespace https://github.com/redphx
// @version 6.4.11-beta // @version 6.5.0
// @description Improve Xbox Cloud Gaming (xCloud) experience // @description Improve Xbox Cloud Gaming (xCloud) experience
// @author redphx // @author redphx
// @license MIT // @license MIT
@ -192,7 +192,7 @@ class UserAgent {
}); });
} }
} }
var SCRIPT_VERSION = "6.4.11-beta", SCRIPT_VARIANT = "full", AppInterface = window.AppInterface; var SCRIPT_VERSION = "6.5.0", SCRIPT_VARIANT = "full", AppInterface = window.AppInterface;
UserAgent.init(); 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 = { 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, supportedRegion: !0,
@ -401,8 +401,6 @@ var SUPPORTED_LANGUAGES = {
"zh-CN": "中文(简体)", "zh-CN": "中文(简体)",
"zh-TW": "中文(繁體)" "zh-TW": "中文(繁體)"
}, Texts = { }, Texts = {
"xbox-360-games": "Xbox 360 games",
"xbox-apps": "Xbox apps",
achievements: "Achievements", achievements: "Achievements",
activate: "Activate", activate: "Activate",
activated: "Activated", activated: "Activated",
@ -807,7 +805,9 @@ var SUPPORTED_LANGUAGES = {
"waiting-for-input": "Waiting for input...", "waiting-for-input": "Waiting for input...",
wallpaper: "Wallpaper", wallpaper: "Wallpaper",
webgl2: "WebGL2", webgl2: "WebGL2",
webgpu: "WebGPU" webgpu: "WebGPU",
"xbox-360-games": "Xbox 360 games",
"xbox-apps": "Xbox apps"
}; };
class Translations { class Translations {
static EN_US = "en-US"; static EN_US = "en-US";

File diff suppressed because one or more lines are too long