Skip to content

Commit 57007c5

Browse files
committed
Foolproof installation directory path check
1 parent 3d93b9f commit 57007c5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Source/InstallationChecker.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ public void Start ()
1111
{
1212
try
1313
{
14-
string szTextureFolderPath = "GameData" + Path.AltDirectorySeparatorChar + "RSS-Textures";
14+
string szTextureFolderPath = $"{KSPUtil.ApplicationRootPath}GameData{Path.AltDirectorySeparatorChar}RSS-Textures";
1515

1616
const string szUserMessage = "The texture pack for RealSolarSystem is missing from your installation\n\nDownload it from the official GitHub KSP-RO repository.";
1717

0 commit comments

Comments
 (0)