Update better-xcloud.user.js

This commit is contained in:
redphx 2024-05-26 15:10:11 +07:00
parent 0d0ecca155
commit c13845ffe1

View File

@ -3236,7 +3236,7 @@ function checkForUpdate() {
setPref(PrefKey.LATEST_VERSION, json.tag_name.substring(1));
setPref(PrefKey.CURRENT_VERSION, SCRIPT_VERSION);
});
Translations.updateTranslations(true);
Translations.updateTranslations(currentVersion === SCRIPT_VERSION);
}
function disablePwa() {
const userAgent2 = (window.navigator.orgUserAgent || window.navigator.userAgent || "").toLowerCase();