Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 16 additions & 1 deletion WinLaunch/WinLaunch.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -546,6 +546,17 @@
<ItemGroup>
<Resource Include="res\Settings\welcome.png" />
</ItemGroup>
<ItemGroup>
<Content Include="HookWindowsKey.dll">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Content Include="WPFToolkit.Extended.dll">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Content Include="XInputInterface.dll">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- 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 All @@ -556,6 +567,10 @@
-->
<PropertyGroup>
<PostBuildEvent>
</PostBuildEvent>
for /f "tokens=*" %25%25G in ('dir /b /a:d "$(TargetDir)"') do ( if not "%25%25~NG" == "lib" if not "%25%25~NG" == "lang" if not "%25%25~NG" == "data" RoboCopy "$(TargetDir)%25%25G " "$(TargetDir)lang\%25%25G " /E /IS /MOVE)

RoboCopy "$(TargetDir) " "$(TargetDir)lib\ " /XF *.exe *.config *.manifext /XD lib lang data /E /IS /MOVE
if %25errorlevel%25 leq 4 exit 0 else exit %25errorlevel%25
</PostBuildEvent>
</PropertyGroup>
</Project>
5 changes: 5 additions & 0 deletions WinLaunch/app.config
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,9 @@
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8"/>
</startup>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<probing privatePath="lang;lib" />
</assemblyBinding>
</runtime>
</configuration>