openspades
openspades copied to clipboard
Portable mode for other platforms
The portable mode is currently only implemented for Windows. It would be nice to have one for other platforms as well.
On Linux, /proc/self/exe
and realpath
could be used to get the current executable's path. Other platforms require different methods (see the implementation of current_exe
from the Rust standard library). SDL_GetBasePath
is also worth looking into.