From 6c7b3a0094dc80c600fca9b2a47c06666eaa7288 Mon Sep 17 00:00:00 2001 From: lbmaian Date: Sat, 22 Oct 2022 21:08:40 -0700 Subject: [PATCH 1/3] Avoid hardcoding Version.txt folder --- Source/AllModdingComponents/Directory.Build.props | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/AllModdingComponents/Directory.Build.props b/Source/AllModdingComponents/Directory.Build.props index be48427..8376b36 100644 --- a/Source/AllModdingComponents/Directory.Build.props +++ b/Source/AllModdingComponents/Directory.Build.props @@ -8,7 +8,7 @@ true 10.0 false - $([System.IO.File]::ReadAllText("C:\Program Files (x86)\Steam\steamapps\common\RimWorld\Workspace\JecsTools\About\Version.txt")) + $([System.IO.File]::ReadAllText("$(SolutionDir)\..\About\Version.txt"))