Skip to content

Commit

Permalink
Log EarthColor.dds size to get an estimate of what texture pack size …
Browse files Browse the repository at this point in the history
…the player has installed
  • Loading branch information
siimav committed Mar 28, 2023
1 parent 5e17dd3 commit a005fd4
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Source/InstallationChecker.cs
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,14 @@ public void Start ()
string.Empty
);
}
else
{
var fi = new FileInfo(Path.Combine(szTextureFolderPath, "EarthColor.dds"));
if (fi.Exists)
{
Debug.Log($"[RealSolarSystem] EarthColor.dds size: {(fi.Length / 1024d / 1024d):F1}MB");
}
}
}
catch (Exception exceptionStack)
{
Expand Down

0 comments on commit a005fd4

Please sign in to comment.