mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-08-05 12:56:42 +02:00
Update better-xcloud.user.js
This commit is contained in:
2
dist/better-xcloud.user.js
vendored
2
dist/better-xcloud.user.js
vendored
@@ -3236,7 +3236,7 @@ function checkForUpdate() {
|
|||||||
setPref(PrefKey.LATEST_VERSION, json.tag_name.substring(1));
|
setPref(PrefKey.LATEST_VERSION, json.tag_name.substring(1));
|
||||||
setPref(PrefKey.CURRENT_VERSION, SCRIPT_VERSION);
|
setPref(PrefKey.CURRENT_VERSION, SCRIPT_VERSION);
|
||||||
});
|
});
|
||||||
Translations.updateTranslations(true);
|
Translations.updateTranslations(currentVersion === SCRIPT_VERSION);
|
||||||
}
|
}
|
||||||
function disablePwa() {
|
function disablePwa() {
|
||||||
const userAgent2 = (window.navigator.orgUserAgent || window.navigator.userAgent || "").toLowerCase();
|
const userAgent2 = (window.navigator.orgUserAgent || window.navigator.userAgent || "").toLowerCase();
|
||||||
|
Reference in New Issue
Block a user