Merge pull request #1 from dowoge/use-fflag-to-remove-hard-240-fps-cap

new fflags
This commit is contained in:
tommy 2024-07-31 16:49:16 -04:00 committed by GitHub
commit bf8fee18b0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -36,7 +36,7 @@ fn main() {
} }
let cas_json = format!("{}\\ClientAppSettings.json",cs_folder); let cas_json = format!("{}\\ClientAppSettings.json",cs_folder);
if !Path::new(&cas_json).is_file() { if !Path::new(&cas_json).is_file() {
fs::write(cas_json, "{\"FFlagHandleAltEnterFullscreenManually\":\"False\",\"DFIntTaskSchedulerTargetFps\":5588562,\"FFlagEnableInGameMenuChromeABTest3\":\"False\"}").ok(); fs::write(cas_json, "{\"FFlagHandleAltEnterFullscreenManually\":\"False\",\"DFIntTaskSchedulerTargetFps\":5588562,\"FFlagEnableInGameMenuChromeABTest3\":\"False\",\"FFlagGameBasicSettingsFramerateCap5\":\"False\",\"FFlagTaskSchedulerLimitTargetFpsTo2402\":\"False\"}").ok();
println!("Wrote ClientAppSettings.json to {}",cur_folder) println!("Wrote ClientAppSettings.json to {}",cur_folder)
} else { } else {
println!("ClientAppSettings.json already exists in {}",cur_folder) println!("ClientAppSettings.json already exists in {}",cur_folder)