mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-13 06:43:07 +00:00
nvm on copying game dlls to local folder,
since epic/steam version are different and we dont want a git diff every time it switches
This commit is contained in:
parent
82db6644f7
commit
eda0a8c9dc
@ -9,27 +9,19 @@
|
||||
<NoWarn>CS1998;CS0649</NoWarn>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<GameDllsDir Condition="Exists('$(GameDir)')">$(GameDir)\OuterWilds_Data\Managed</GameDllsDir>
|
||||
<UnityDllsDir Condition="Exists('$(UnityAssetsDir)')">$(UnityAssetsDir)\Dlls</UnityDllsDir>
|
||||
</PropertyGroup>
|
||||
<Target Name="delete asset bundle crap" BeforeTargets="PreBuildEvent">
|
||||
<Exec Command="del /f AssetBundles\AssetBundles" />
|
||||
<Exec Command="del /f AssetBundles\*.manifest" />
|
||||
</Target>
|
||||
<Target Name="copy game dlls to local folder" BeforeTargets="PreBuildEvent" Condition="Exists('$(GameDir)')">
|
||||
<Exec Command="del /f ..\GameDlls\*.dll" />
|
||||
|
||||
<Exec Command="copy /y "$(GameDllsDir)\UnityEngine.CoreModule.dll" ..\GameDlls" />
|
||||
<Exec Command="copy /y "$(GameDllsDir)\OWML.ModHelper.dll" ..\GameDlls" />
|
||||
<Exec Command="copy /y "$(GameDllsDir)\Assembly-CSharp.dll" ..\GameDlls" />
|
||||
<Exec Command="copy /y "$(GameDllsDir)\UnityEngine.AnimationModule.dll" ..\GameDlls" />
|
||||
<Exec Command="copy /y "$(GameDllsDir)\OWML.Common.dll" ..\GameDlls" />
|
||||
</Target>
|
||||
<Target Name="weave qsb" AfterTargets="PostBuildEvent">
|
||||
<Exec Command=""..\MirrorWeaver\bin\$(Configuration)\MirrorWeaver" "$(TargetPath)" ..\GameDlls" />
|
||||
</Target>
|
||||
<Target Name="copy dlls to unity" AfterTargets="PostBuildEvent" Condition="Exists('$(UnityAssetsDir)') and Exists('$(GameDir)')">
|
||||
<PropertyGroup>
|
||||
<GameDllsDir>$(GameDir)\OuterWilds_Data\Managed</GameDllsDir>
|
||||
<UnityDllsDir>$(UnityAssetsDir)\Dlls</UnityDllsDir>
|
||||
</PropertyGroup>
|
||||
|
||||
<Exec Command="del /f "$(UnityDllsDir)\*.dll"" />
|
||||
<Exec Command="del /f "$(UnityDllsDir)\*.exe"" />
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user