Merge pull request #373 from misternebula/space-in-unity-assets-dir

Fix UnityAssetsDir path with quotes
This commit is contained in:
_nebula 2021-11-30 08:38:41 +00:00 committed by GitHub
commit 9f9941279c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 34 additions and 35 deletions

View File

@ -12,7 +12,6 @@ EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{2569F98D-F671-42AA-82DE-505B05CDCEF2}"
ProjectSection(SolutionItems) = preProject
.gitignore = .gitignore
Directory.Build.targets = Directory.Build.targets
LICENSE = LICENSE
README.md = README.md
EndProjectSection

View File

@ -16,42 +16,42 @@
<PropertyGroup>
<PostBuildEvent Condition="Exists($(UnityAssetsDir)) and Exists($(GameDir)) and Exists($(OwmlDir))">
:: copy output to unity project
copy /y "$(OutputPath)" $(UnityAssetsDir)
copy /y "$(OutputPath)" "$(UnityAssetsDir)"
:: copy game assembly to unity project
copy /y "$(GameDir)\OuterWilds_Data\Managed\Assembly-CSharp.dll" $(UnityAssetsDir)
copy /y "$(GameDir)\OuterWilds_Data\Managed\Assembly-CSharp-firstpass.dll" $(UnityAssetsDir)
copy /y "$(GameDir)\OuterWilds_Data\Managed\Unity.InputSystem.dll" $(UnityAssetsDir)
copy /y "$(GameDir)\OuterWilds_Data\Managed\EOS-SDK.dll" $(UnityAssetsDir)
copy /y "$(GameDir)\OuterWilds_Data\Managed\UniSense.dll" $(UnityAssetsDir)
copy /y "$(GameDir)\OuterWilds_Data\Managed\Assembly-CSharp.dll" "$(UnityAssetsDir)"
copy /y "$(GameDir)\OuterWilds_Data\Managed\Assembly-CSharp-firstpass.dll" "$(UnityAssetsDir)"
copy /y "$(GameDir)\OuterWilds_Data\Managed\Unity.InputSystem.dll" "$(UnityAssetsDir)"
copy /y "$(GameDir)\OuterWilds_Data\Managed\EOS-SDK.dll" "$(UnityAssetsDir)"
copy /y "$(GameDir)\OuterWilds_Data\Managed\UniSense.dll" "$(UnityAssetsDir)"
:: copy owml files to unity project
copy /y "$(OwmlDir)\Autofac.dll" $(UnityAssetsDir)
copy /y "$(OwmlDir)\Newtonsoft.Json.dll" $(UnityAssetsDir)
copy /y "$(OwmlDir)\0Harmony.dll" $(UnityAssetsDir)
copy /y "$(OwmlDir)\MonoMod.Utils.dll" $(UnityAssetsDir)
copy /y "$(OwmlDir)\MonoMod.RuntimeDetour.dll" $(UnityAssetsDir)
copy /y "$(OwmlDir)\Mono.Cecil.dll" $(UnityAssetsDir)
copy /y "$(OwmlDir)\Mono.Cecil.Mdb.dll" $(UnityAssetsDir)
copy /y "$(OwmlDir)\Mono.Cecil.Pdb.dll" $(UnityAssetsDir)
copy /y "$(OwmlDir)\Mono.Cecil.Rocks.dll" $(UnityAssetsDir)
copy /y "$(OwmlDir)\dnpatch.dll" $(UnityAssetsDir)
copy /y "$(OwmlDir)\dnlib.dll" $(UnityAssetsDir)
copy /y "$(OwmlDir)\Gameloop.Vdf.dll" $(UnityAssetsDir)
copy /y "$(OwmlDir)\NAudio-Unity.dll" $(UnityAssetsDir)
copy /y "$(OwmlDir)\OWML.Common.dll" $(UnityAssetsDir)
copy /y "$(OwmlDir)\OWML.ModHelper.dll" $(UnityAssetsDir)
copy /y "$(OwmlDir)\OWML.ModHelper.Assets.dll" $(UnityAssetsDir)
copy /y "$(OwmlDir)\OWML.ModHelper.Events.dll" $(UnityAssetsDir)
copy /y "$(OwmlDir)\OWML.ModHelper.Menus.dll" $(UnityAssetsDir)
copy /y "$(OwmlDir)\OWML.ModHelper.Input.dll" $(UnityAssetsDir)
copy /y "$(OwmlDir)\OWML.ModHelper.Interaction.dll" $(UnityAssetsDir)
copy /y "$(OwmlDir)\OWML.Utils.dll" $(UnityAssetsDir)
copy /y "$(OwmlDir)\OWML.Common.dll" $(UnityAssetsDir)
copy /y "$(OwmlDir)\OWML.Logging.dll" $(UnityAssetsDir)
copy /y "$(OwmlDir)\OWML.ModLoader.dll" $(UnityAssetsDir)
copy /y "$(OwmlDir)\OWML.Patcher.dll" $(UnityAssetsDir)
copy /y "$(OwmlDir)\OWML.GameFinder.dll" $(UnityAssetsDir)
copy /y "$(OwmlDir)\OWML.Abstractions.dll" $(UnityAssetsDir)
copy /y "$(OwmlDir)\Autofac.dll" "$(UnityAssetsDir)"
copy /y "$(OwmlDir)\Newtonsoft.Json.dll" "$(UnityAssetsDir)"
copy /y "$(OwmlDir)\0Harmony.dll" "$(UnityAssetsDir)"
copy /y "$(OwmlDir)\MonoMod.Utils.dll" "$(UnityAssetsDir)"
copy /y "$(OwmlDir)\MonoMod.RuntimeDetour.dll" "$(UnityAssetsDir)"
copy /y "$(OwmlDir)\Mono.Cecil.dll" "$(UnityAssetsDir)"
copy /y "$(OwmlDir)\Mono.Cecil.Mdb.dll" "$(UnityAssetsDir)"
copy /y "$(OwmlDir)\Mono.Cecil.Pdb.dll" "$(UnityAssetsDir)"
copy /y "$(OwmlDir)\Mono.Cecil.Rocks.dll" "$(UnityAssetsDir)"
copy /y "$(OwmlDir)\dnpatch.dll" "$(UnityAssetsDir)"
copy /y "$(OwmlDir)\dnlib.dll" "$(UnityAssetsDir)"
copy /y "$(OwmlDir)\Gameloop.Vdf.dll" "$(UnityAssetsDir)"
copy /y "$(OwmlDir)\NAudio-Unity.dll" "$(UnityAssetsDir)"
copy /y "$(OwmlDir)\OWML.Common.dll" "$(UnityAssetsDir)"
copy /y "$(OwmlDir)\OWML.ModHelper.dll" "$(UnityAssetsDir)"
copy /y "$(OwmlDir)\OWML.ModHelper.Assets.dll" "$(UnityAssetsDir)"
copy /y "$(OwmlDir)\OWML.ModHelper.Events.dll" "$(UnityAssetsDir)"
copy /y "$(OwmlDir)\OWML.ModHelper.Menus.dll" "$(UnityAssetsDir)"
copy /y "$(OwmlDir)\OWML.ModHelper.Input.dll" "$(UnityAssetsDir)"
copy /y "$(OwmlDir)\OWML.ModHelper.Interaction.dll" "$(UnityAssetsDir)"
copy /y "$(OwmlDir)\OWML.Utils.dll" "$(UnityAssetsDir)"
copy /y "$(OwmlDir)\OWML.Common.dll" "$(UnityAssetsDir)"
copy /y "$(OwmlDir)\OWML.Logging.dll" "$(UnityAssetsDir)"
copy /y "$(OwmlDir)\OWML.ModLoader.dll" "$(UnityAssetsDir)"
copy /y "$(OwmlDir)\OWML.Patcher.dll" "$(UnityAssetsDir)"
copy /y "$(OwmlDir)\OWML.GameFinder.dll" "$(UnityAssetsDir)"
copy /y "$(OwmlDir)\OWML.Abstractions.dll" "$(UnityAssetsDir)"
</PostBuildEvent>
</PropertyGroup>
<ItemGroup>
@ -82,4 +82,4 @@ copy /y "$(OwmlDir)\OWML.Abstractions.dll" $(UnityAssetsDir)
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
</ItemGroup>
</Project>
</Project>