Hi, I'm working on bringing Dolphin support for the Lutris gaming platform (https://github.com/lutris/).
One of Lutris' features is to allow users to install emulators and other game runners without requiring root access. For this to happen we have to ship binaries that are self contained and able to run from anywhere in the filesystem.
Sadly, Dolphin is one of those rare programs that can't be moved after installation and hardcodes absolutes paths inside the binary. So, my obvious question is: is there any easy way to make the Sys folder relative to the executable path on Linux?
A fix would be quite easy, I could use File::GetExeDirectory() like on Windows in the File::GetSysDirectory() method but that would require me to maintain a fork of Dolphin, which I'd prefer not to since the project is very active and I'd like to keep our future Dolphin runner up to date.
I'd be very thankful if we can find a solution for this problem, I really want to be able to bring Dolphin support in our next release!
One of Lutris' features is to allow users to install emulators and other game runners without requiring root access. For this to happen we have to ship binaries that are self contained and able to run from anywhere in the filesystem.
Sadly, Dolphin is one of those rare programs that can't be moved after installation and hardcodes absolutes paths inside the binary. So, my obvious question is: is there any easy way to make the Sys folder relative to the executable path on Linux?
A fix would be quite easy, I could use File::GetExeDirectory() like on Windows in the File::GetSysDirectory() method but that would require me to maintain a fork of Dolphin, which I'd prefer not to since the project is very active and I'd like to keep our future Dolphin runner up to date.
I'd be very thankful if we can find a solution for this problem, I really want to be able to bring Dolphin support in our next release!