From c863dde8f0ecd456124611ad65ad3780148ed912 Mon Sep 17 00:00:00 2001 From: Ricardo Lopes Date: Sat, 15 Feb 2020 08:27:08 +0100 Subject: [PATCH] Make references relative to working directory --- QSB/QSB.csproj | 28 ++++++++++++++-------------- QSB/QSB.csproj.user | 4 ++-- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/QSB/QSB.csproj b/QSB/QSB.csproj index d1c9ac21..eda74c11 100644 --- a/QSB/QSB.csproj +++ b/QSB/QSB.csproj @@ -35,7 +35,7 @@ ..\packages\Lib.Harmony.1.2.0.1\lib\net35\0Harmony.dll - ..\..\..\..\..\Program Files\Epic Games\OuterWilds\OuterWilds_Data\Managed\Assembly-CSharp.dll + $(StartWorkingDirectory)\..\OuterWilds_Data\Managed\Assembly-CSharp.dll ..\packages\OWML.0.3.35\lib\net35\NAudio-Unity.dll @@ -68,21 +68,21 @@ - ..\..\..\..\..\..\Program Files\Epic Games\OuterWilds\OuterWilds_Data\Managed\UnityEngine.dll + $(StartWorkingDirectory)\..\OuterWilds_Data\Managed\UnityEngine.dll - ..\..\..\..\..\..\Program Files\Epic Games\OuterWilds\OuterWilds_Data\Managed\UnityEngine.CoreModule.dll + $(StartWorkingDirectory)\..\OuterWilds_Data\Managed\UnityEngine.CoreModule.dll - ..\..\..\..\..\..\Program Files\Epic Games\OuterWilds\OuterWilds_Data\Managed\UnityEngine.Networking.dll + $(StartWorkingDirectory)\..\OuterWilds_Data\Managed\UnityEngine.Networking.dll False - ..\..\..\..\..\Program Files\Epic Games\OuterWilds\OuterWilds_Data\Managed\UnityEngine.UI.dll + $(StartWorkingDirectory)\..\OuterWilds_Data\Managed\UnityEngine.UI.dll False - ..\..\..\..\..\Program Files\Epic Games\OuterWilds\OuterWilds_Data\Managed\UnityEngine.UIModule.dll + $(StartWorkingDirectory)\..\OuterWilds_Data\Managed\UnityEngine.UIModule.dll @@ -105,16 +105,16 @@ - md "$(StartWorkingDirectory)" -md "$(StartWorkingDirectory)\assets" -del "$(StartWorkingDirectory)\config.json" + md "$(StartWorkingDirectory)\Mods\$(ProjectName)" +md "$(StartWorkingDirectory)\Mods\$(ProjectName)\assets" +del "$(StartWorkingDirectory)\Mods\$(ProjectName)\config.json" -copy /y "$(TargetPath)" "$(StartWorkingDirectory)" +copy /y "$(TargetPath)" "$(StartWorkingDirectory)\Mods\$(ProjectName)" -copy /y "$(ProjectDir)\default-config.json" "$(StartWorkingDirectory)" +copy /y "$(ProjectDir)\default-config.json" "$(StartWorkingDirectory)\Mods\$(ProjectName)" -copy /y "$(ProjectDir)\manifest.json" "$(StartWorkingDirectory)" +copy /y "$(ProjectDir)\manifest.json" "$(StartWorkingDirectory)\Mods\$(ProjectName)" -copy /y "$(ProjectDir)\Assets" "$(StartWorkingDirectory)\assets" +copy /y "$(ProjectDir)\Assets" "$(StartWorkingDirectory)\Mods\$(ProjectName)\assets" - \ No newline at end of file + diff --git a/QSB/QSB.csproj.user b/QSB/QSB.csproj.user index 09d18f9c..26fd46fd 100644 --- a/QSB/QSB.csproj.user +++ b/QSB/QSB.csproj.user @@ -1,12 +1,12 @@  - C:\Program Files\Epic Games\OuterWilds\OWML\Mods\QuantumSpaceBuddies + C:\Program Files\Epic Games\OuterWilds\OWML ProjectFiles - C:\Program Files\Epic Games\OuterWilds\OWML\Mods\QuantumSpaceBuddies + C:\Program Files\Epic Games\OuterWilds\OWML \ No newline at end of file