mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-06-07 08:07:18 +02:00
Update URLs
This commit is contained in:
parent
b780e4e63b
commit
902918d7fb
5
dist/better-xcloud.user.js
vendored
5
dist/better-xcloud.user.js
vendored
@ -105,7 +105,6 @@ class UserAgent {
|
|||||||
|
|
||||||
// src/utils/global.ts
|
// src/utils/global.ts
|
||||||
var SCRIPT_VERSION = "4.7.1-beta";
|
var SCRIPT_VERSION = "4.7.1-beta";
|
||||||
var SCRIPT_HOME = "https://github.com/redphx/better-xcloud";
|
|
||||||
var AppInterface = window.AppInterface;
|
var AppInterface = window.AppInterface;
|
||||||
UserAgent.init();
|
UserAgent.init();
|
||||||
var userAgent = window.navigator.userAgent.toLowerCase();
|
var userAgent = window.navigator.userAgent.toLowerCase();
|
||||||
@ -8566,7 +8565,7 @@ function setupSettingsUi() {
|
|||||||
let $updateAvailable;
|
let $updateAvailable;
|
||||||
const $wrapper = CE("div", { class: "bx-settings-wrapper" }, CE("div", { class: "bx-settings-title-wrapper" }, CE("a", {
|
const $wrapper = CE("div", { class: "bx-settings-wrapper" }, CE("div", { class: "bx-settings-title-wrapper" }, CE("a", {
|
||||||
class: "bx-settings-title",
|
class: "bx-settings-title",
|
||||||
href: SCRIPT_HOME,
|
href: "https://github.com/redphx/better-xcloud/releases",
|
||||||
target: "_blank"
|
target: "_blank"
|
||||||
}, "Better xCloud " + SCRIPT_VERSION), createButton({
|
}, "Better xCloud " + SCRIPT_VERSION), createButton({
|
||||||
icon: BxIcon.QUESTION,
|
icon: BxIcon.QUESTION,
|
||||||
@ -8576,7 +8575,7 @@ function setupSettingsUi() {
|
|||||||
})));
|
})));
|
||||||
$updateAvailable = CE("a", {
|
$updateAvailable = CE("a", {
|
||||||
class: "bx-settings-update bx-gone",
|
class: "bx-settings-update bx-gone",
|
||||||
href: "https://github.com/redphx/better-xcloud/releases",
|
href: "https://github.com/redphx/better-xcloud/releases/latest",
|
||||||
target: "_blank"
|
target: "_blank"
|
||||||
});
|
});
|
||||||
$wrapper.appendChild($updateAvailable);
|
$wrapper.appendChild($updateAvailable);
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { STATES, AppInterface, SCRIPT_HOME, SCRIPT_VERSION } from "@utils/global";
|
import { STATES, AppInterface, SCRIPT_VERSION } from "@utils/global";
|
||||||
import { CE, createButton, ButtonStyle } from "@utils/html";
|
import { CE, createButton, ButtonStyle } from "@utils/html";
|
||||||
import { BxIcon } from "@utils/bx-icon";
|
import { BxIcon } from "@utils/bx-icon";
|
||||||
import { getPreferredServerRegion } from "@utils/region";
|
import { getPreferredServerRegion } from "@utils/region";
|
||||||
@ -130,7 +130,7 @@ export function setupSettingsUi() {
|
|||||||
CE<HTMLElement>('div', {'class': 'bx-settings-title-wrapper'},
|
CE<HTMLElement>('div', {'class': 'bx-settings-title-wrapper'},
|
||||||
CE('a', {
|
CE('a', {
|
||||||
'class': 'bx-settings-title',
|
'class': 'bx-settings-title',
|
||||||
'href': SCRIPT_HOME,
|
'href': 'https://github.com/redphx/better-xcloud/releases',
|
||||||
'target': '_blank',
|
'target': '_blank',
|
||||||
}, 'Better xCloud ' + SCRIPT_VERSION),
|
}, 'Better xCloud ' + SCRIPT_VERSION),
|
||||||
createButton({
|
createButton({
|
||||||
@ -143,7 +143,7 @@ export function setupSettingsUi() {
|
|||||||
);
|
);
|
||||||
$updateAvailable = CE('a', {
|
$updateAvailable = CE('a', {
|
||||||
'class': 'bx-settings-update bx-gone',
|
'class': 'bx-settings-update bx-gone',
|
||||||
'href': 'https://github.com/redphx/better-xcloud/releases',
|
'href': 'https://github.com/redphx/better-xcloud/releases/latest',
|
||||||
'target': '_blank',
|
'target': '_blank',
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
import { UserAgent } from "./user-agent";
|
import { UserAgent } from "./user-agent";
|
||||||
|
|
||||||
export const SCRIPT_VERSION = Bun.env.SCRIPT_VERSION!;
|
export const SCRIPT_VERSION = Bun.env.SCRIPT_VERSION!;
|
||||||
export const SCRIPT_HOME = 'https://github.com/redphx/better-xcloud';
|
|
||||||
|
|
||||||
export const AppInterface = window.AppInterface;
|
export const AppInterface = window.AppInterface;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user