Currently we assume that the vanilla Freelancer directory is no larger than 985624576 bytes. However, it's possible that the user has a vanilla FL directory with mods installed. Those mods could inflate the directory size by up to multiple gigabytes. Because of this, there is a possibility that our calculated disk space requirement is way too low. Hence a user could potentially run out of disk space during the installation, even though the installer assumed the amount of available disk space was sufficient.
We should dynamically check for the size of the vanilla Freelancer directory to determine whether there is enough space available on the selected drive.
Currently we assume that the vanilla Freelancer directory is no larger than 985624576 bytes. However, it's possible that the user has a vanilla FL directory with mods installed. Those mods could inflate the directory size by up to multiple gigabytes. Because of this, there is a possibility that our calculated disk space requirement is way too low. Hence a user could potentially run out of disk space during the installation, even though the installer assumed the amount of available disk space was sufficient.
We should dynamically check for the size of the vanilla Freelancer directory to determine whether there is enough space available on the selected drive.