Skip to content

Commit

Permalink
Bump version to 5.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
redphx committed Jul 14, 2024
1 parent df71313 commit 55a5683
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dist/better-xcloud.meta.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// ==UserScript==
// @name Better xCloud
// @namespace https://github.com/redphx
// @version 5.2.0
// @version 5.3.0
// ==/UserScript==
6 changes: 3 additions & 3 deletions dist/better-xcloud.user.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// ==UserScript==
// @name Better xCloud
// @namespace https://github.com/redphx
// @version 5.3.0-beta
// @version 5.3.0
// @description Improve Xbox Cloud Gaming (xCloud) experience
// @author redphx
// @license MIT
Expand Down Expand Up @@ -134,7 +134,7 @@ function deepClone(obj) {
return {};
return JSON.parse(JSON.stringify(obj));
}
var SCRIPT_VERSION = "5.3.0-beta", AppInterface = window.AppInterface;
var SCRIPT_VERSION = "5.3.0", 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,
Expand Down Expand Up @@ -7338,7 +7338,7 @@ class GameTile {
if (info) {
const waitTime = await api.getWaitTime(info.titleId);
if (waitTime)
totalWaitTime = (waitTime.estimatedAllocationTimeInSeconds || 0) + Math.floor(Math.random() * 60);
totalWaitTime = waitTime.estimatedAllocationTimeInSeconds;
}
if (typeof totalWaitTime === "number" && $elm.isConnected) {
const $div = CE("div", { class: "bx-game-tile-wait-time" }, createSvgIcon(BxIcon.PLAYTIME), CE("span", {}, GameTile.#secondsToHms(totalWaitTime)));
Expand Down

0 comments on commit 55a5683

Please sign in to comment.