From 93e933aadf21a28856036232907e5bc7d514498a Mon Sep 17 00:00:00 2001 From: Travis Nickles Date: Fri, 6 Oct 2017 02:29:57 -0500 Subject: [PATCH] Add extra search folder for compiled localization files Related to issue #124. --- DS4Windows/DS4Windows.csproj | 14 ++++++++++++++ DS4Windows/Program.cs | 2 +- DS4Windows/app.config | 5 +++++ 3 files changed, 20 insertions(+), 1 deletion(-) diff --git a/DS4Windows/DS4Windows.csproj b/DS4Windows/DS4Windows.csproj index 30a0357..da37f00 100644 --- a/DS4Windows/DS4Windows.csproj +++ b/DS4Windows/DS4Windows.csproj @@ -1147,6 +1147,20 @@ + + rem Copy compiled l18n assemblies to alt folder +GOTO END +if not exist $(TargetDir)Lang mkdir $(TargetDir)Lang +set langs=ar cs de de-DE el es fi fr fr-FR he hu id it it-IT ja ko nl pl ^ + +pt-BR ro-RO ru-RU sl sv tr uk vi zh-CN zh-Hans zh-Hant + +for %25%25l in (%25langs%25) do ( + xcopy $(TargetDir)%25%25l $(TargetDir)Lang\%25%25l\ /s /y +) + +:END +