On SteamOS, the /var mount is only given a small amount of space to work with, which can cause beans-rs to throw/return the error FreeSpaceCheckFailure to be returned.
This pull request adds the ability to detect if we are running on SteamOS, and if so, use ~/.tmp as the temporary directory instead of /var/tmp.
This PR also adds the dir_exists and is_steamdeck functions to the helper module.
On SteamOS, the
/var
mount is only given a small amount of space to work with, which can causebeans-rs
to throw/return the errorFreeSpaceCheckFailure
to be returned.This pull request adds the ability to detect if we are running on SteamOS, and if so, use
~/.tmp
as the temporary directory instead of/var/tmp
.This PR also adds the
dir_exists
andis_steamdeck
functions to thehelper
module.