Skip to content

Commit

Permalink
add rename project in BuildSettings
Browse files Browse the repository at this point in the history
  • Loading branch information
gmlor committed May 31, 2024
1 parent f847d52 commit 0c7e4f1
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/workflows/rename_project/changeset.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,18 @@ fn add_game_name_to_engine_config(project_root: &Path, new_name: &str) -> Change
"GameName",
new_name,
))
Change::SetIniEntry(SetIniEntry::new(
project_root.join("Config/DefaultEngine.ini"),
"[/Script/BuildSettings.BuildSettings]",
"DefaultGameTarget",
new_name,
))
Change::SetIniEntry(SetIniEntry::new(
project_root.join("Config/DefaultEngine.ini"),
"[/Script/BuildSettings.BuildSettings]",
"DefaultEditorTarget",
new_name,
))
}

fn add_project_name_to_game_config(project_root: &Path, new_name: &str) -> Change {
Expand Down

0 comments on commit 0c7e4f1

Please sign in to comment.