mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2024-11-25 18:46:58 +01:00
Add extra search folder for compiled localization files
Related to issue #124.
This commit is contained in:
parent
6ab0f3f020
commit
93e933aadf
@ -1147,6 +1147,20 @@
|
||||
</ItemGroup>
|
||||
<ItemGroup />
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<PropertyGroup>
|
||||
<PostBuildEvent>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</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.
|
||||
<Target Name="BeforeBuild">
|
||||
|
@ -31,7 +31,7 @@ namespace DS4Windows
|
||||
[STAThread]
|
||||
static void Main(string[] args)
|
||||
{
|
||||
//Thread.CurrentThread.CurrentUICulture = CultureInfo.GetCultureInfo("he");
|
||||
//Thread.CurrentThread.CurrentUICulture = CultureInfo.GetCultureInfo("ja");
|
||||
for (int i = 0, argsLen = args.Length; i < argsLen; i++)
|
||||
{
|
||||
string s = args[i];
|
||||
|
@ -3,4 +3,9 @@
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.2"/>
|
||||
</startup>
|
||||
<runtime>
|
||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||
<probing privatePath="Lang"/>
|
||||
</assemblyBinding>
|
||||
</runtime>
|
||||
</configuration>
|
||||
|
Loading…
Reference in New Issue
Block a user