Skip to content

Commit

Permalink
Merge pull request #438 from JonasNilson/feature/post-build-languages
Browse files Browse the repository at this point in the history
Post build: create Languages directory and move language files into it
  • Loading branch information
JonasNilson authored Sep 24, 2023
2 parents 1113bd3 + 458aba7 commit 5c1d343
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions Source/IdleMasterExtended/IdleMasterExtended.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -333,8 +333,13 @@
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<PropertyGroup>
<PostBuildEvent>xcopy /y /d "$(SolutionDir)..\steam-idle Source\steam-idle\bin\Release\steam-idle.exe" "$(TargetDir)"
xcopy /y /d "$(SolutionDir)..\Dependencies\steam_api64.dll" "$(TargetDir)"</PostBuildEvent>
<PostBuildEvent>XCOPY /Y /D "$(SolutionDir)..\steam-idle Source\steam-idle\bin\Release\steam-idle.exe" "$(TargetDir)"
XCOPY /Y /D "$(SolutionDir)..\Dependencies\steam_api64.dll" "$(TargetDir)"

RMDIR /S /Q "$(TargetDir)Languages"
MKDIR "$(TargetDir)Languages"
FOR /F %25%25X IN ('DIR /B /AD $(TargetDir)') DO IF /I NOT "%25%25X"=="Languages" MOVE /Y "$(TargetDir)%25%25X" "$(TargetDir)Languages"
</PostBuildEvent>
</PropertyGroup>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
Expand Down

0 comments on commit 5c1d343

Please sign in to comment.