Skip to content

Commit

Permalink
Refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
psiberx committed Feb 2, 2025
1 parent addb770 commit 3617748
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions src/App/Tweaks/TweakService.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -191,8 +191,10 @@ void App::TweakService::ExportMetadata()
{
MetadataExporter exporter{m_manager};
exporter.LoadSource(m_sourcesDir);
exporter.ExportInheritanceMap(m_inheritanceMapPath, true);
exporter.ExportExtraFlats(m_extraFlatsPath, true);
exporter.ExportInheritanceMap(m_inheritanceMapPath);
exporter.ExportExtraFlats(m_extraFlatsPath);
exporter.ExportInheritanceMap(m_inheritanceMapPath.replace_extension(".yaml"));
exporter.ExportExtraFlats(m_extraFlatsPath.replace_extension(".yaml"));
}

Red::TweakDBManager& App::TweakService::GetManager()
Expand Down
2 changes: 1 addition & 1 deletion tools/dist/steps/compose-data.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ param ($StageDir, $ReleaseBin, $ProjectName)
$DataDir = "${StageDir}/red4ext/plugins/${ProjectName}/Data"

New-Item -ItemType directory -Force -Path ${DataDir} | Out-Null
Copy-Item -Path "data/*" -Destination ${DataDir}
Copy-Item -Path "data/*.dat" -Destination ${DataDir}

0 comments on commit 3617748

Please sign in to comment.