Update better-xcloud.user.js

This commit is contained in:
redphx 2024-08-26 07:43:23 +07:00 committed by GitHub
parent 1e8e7f0030
commit c669b80914
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -4821,7 +4821,11 @@ class SettingsNavigationDialog extends NavigationDialog {
let base = typeof scriptSettings._base === "string" ? [scriptSettings._base] : scriptSettings._base;
for (let profile of base)
Object.assign(recommended, this.suggestedSettings[profile]);
delete scriptSettings._base;
}
let key;
for (key in scriptSettings)
recommended[key] = scriptSettings[key];
return BX_FLAGS.DeviceInfo.deviceType = json.device_type, this.suggestedSettings.recommended = recommended, json.device_name;
} catch (e) {
}