mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-17 01:13:05 +00:00
change name instead of namespace, always inject so workflows work
This commit is contained in:
parent
3b582c82d4
commit
39d6d62042
BIN
GameDlls/Unity.InputSystem.dll
Normal file
BIN
GameDlls/Unity.InputSystem.dll
Normal file
Binary file not shown.
BIN
GameDlls/UnityEngine.UI.dll
Normal file
BIN
GameDlls/UnityEngine.UI.dll
Normal file
Binary file not shown.
@ -36,8 +36,7 @@ namespace ProxyInjector
|
||||
continue;
|
||||
}
|
||||
|
||||
var proxyTd = new TypeDefinition(td.Namespace, td.FullName, td.Attributes, qsbModule.ImportReference(td));
|
||||
proxyTd.Namespace = string.IsNullOrEmpty(proxyTd.Namespace) ? "PROXY" : "PROXY." + proxyTd.Namespace;
|
||||
var proxyTd = new TypeDefinition(td.Namespace, "PROXY_" + td.Name, td.Attributes, qsbModule.ImportReference(td));
|
||||
qsbModule.Types.Add(proxyTd);
|
||||
count++;
|
||||
}
|
||||
|
@ -26,8 +26,8 @@
|
||||
<Target Name="weave qsb" AfterTargets="PostBuildEvent">
|
||||
<Exec Command=""..\MirrorWeaver\bin\$(Configuration)\MirrorWeaver" "$(TargetPath)" ..\GameDlls" />
|
||||
</Target>
|
||||
<Target Name="inject proxy scripts" AfterTargets="PostBuildEvent" Condition="Exists('$(GameDllsDir)')">
|
||||
<Exec Command=""..\ProxyInjector\bin\$(Configuration)\ProxyInjector" "$(TargetPath)" "$(GameDllsDir)\Assembly-CSharp.dll"" />
|
||||
<Target Name="inject proxy scripts" AfterTargets="PostBuildEvent">
|
||||
<Exec Command=""..\ProxyInjector\bin\$(Configuration)\ProxyInjector" "$(TargetPath)" ..\GameDlls\Assembly-CSharp.dll" />
|
||||
</Target>
|
||||
<Target Name="copy dlls to unity" AfterTargets="PostBuildEvent" Condition="Exists('$(UnityDllsDir)') and Exists('$(GameDllsDir)')">
|
||||
<Exec Command="del /f /q "$(UnityDllsDir)\*.dll"" />
|
||||
@ -73,7 +73,7 @@
|
||||
<ProjectReference Include="..\EpicOnlineTransport\EpicOnlineTransport.csproj" />
|
||||
<ProjectReference Include="..\EpicRerouter\EpicRerouter.csproj" />
|
||||
<ProjectReference Include="..\MirrorWeaver\MirrorWeaver.csproj" ReferenceOutputAssembly="false" />
|
||||
<ProjectReference Condition="Exists('$(GameDllsDir)')" Include="..\ProxyInjector\ProxyInjector.csproj" ReferenceOutputAssembly="false" />
|
||||
<ProjectReference Include="..\ProxyInjector\ProxyInjector.csproj" ReferenceOutputAssembly="false" />
|
||||
<PackageReference Include="HarmonyX" Version="2.9.0" IncludeAssets="compile" />
|
||||
<PackageReference Include="OWML" Version="2.3.2" IncludeAssets="compile" />
|
||||
</ItemGroup>
|
||||
|
Loading…
Reference in New Issue
Block a user