openspades icon indicating copy to clipboard operation
openspades copied to clipboard

Portable mode for other platforms

Open yvt opened this issue 2 years ago • 0 comments

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.

yvt avatar May 08 '22 07:05 yvt