mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-03-10 07:50:19 +00:00
Modify pre-build event for locale directory handling
Updated pre-build event command to check for existence before removing the locale directory.
This commit is contained in:
committed by
GitHub
parent
4c3e9ffad4
commit
20b0aab470
@@ -28,7 +28,7 @@
|
||||
<ItemDefinitionGroup>
|
||||
<PreBuildEvent>
|
||||
<Command>cd ..\..\po
|
||||
rmdir /q /s "$(OutDir)\locale"
|
||||
if exist "$(OutDir)\locale" rmdir /q /s "$(OutDir)\locale"
|
||||
mkdir "$(OutDir)\locale"
|
||||
for %%A in (*.po) do (
|
||||
mkdir "$(OutDir)\locale\%%~nA\LC_MESSAGES"
|
||||
@@ -40,3 +40,4 @@ mkdir "$(OutDir)\locale\%%~nA\LC_MESSAGES"
|
||||
</ItemGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
</Project>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user