mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-06-07 08:07:18 +02:00
Remove website's version detection
This commit is contained in:
parent
416307e23a
commit
91ab57fa29
@ -428,13 +428,6 @@ export function setupSettingsUi() {
|
|||||||
}, `❤️ ${t('support-better-xcloud')}`);
|
}, `❤️ ${t('support-better-xcloud')}`);
|
||||||
$wrapper.appendChild($donationLink);
|
$wrapper.appendChild($donationLink);
|
||||||
|
|
||||||
// Show Game Pass app version
|
|
||||||
try {
|
|
||||||
const appVersion = (document.querySelector('meta[name=gamepass-app-version]') as HTMLMetaElement).content;
|
|
||||||
const appDate = new Date((document.querySelector('meta[name=gamepass-app-date]') as HTMLMetaElement).content).toISOString().substring(0, 10);
|
|
||||||
$wrapper.appendChild(CE('div', {'class': 'bx-settings-app-version'}, `xCloud website version ${appVersion} (${appDate})`));
|
|
||||||
} catch (e) {}
|
|
||||||
|
|
||||||
$container.appendChild($wrapper);
|
$container.appendChild($wrapper);
|
||||||
|
|
||||||
// Add Settings UI to the web page
|
// Add Settings UI to the web page
|
||||||
|
Loading…
x
Reference in New Issue
Block a user