diff --git a/src/devices/device_generic.rs b/src/devices/device_generic.rs index a186aa2..63af716 100644 --- a/src/devices/device_generic.rs +++ b/src/devices/device_generic.rs @@ -61,6 +61,13 @@ impl Device for DeviceGeneric { replacement_text: "case 4:case 31: return l.createElement".to_string(), destination: PatchFile::Chunk, }, + + // Change resolution to Native (if Default) after installation + Patch { + text_to_find: "DownloadComplete_Title\"),o=ze(r,t.data.appid());const s=(0,O.Q2)();".to_string(), + replacement_text: "DownloadComplete_Title\"),o=ze(r,t.data.appid()); SteamClient.Apps.GetResolutionOverrideForApp(593280).then(res => res === \"Default\" && SteamClient.Apps.SetAppResolutionOverride(593280, \"Native\")); const s=(0,O.Q2)();".to_string(), + destination: PatchFile::Chunk, + }, ] }