mmatyas / pegasus-frontend

A cross platform, customizable graphical frontend for launching emulators and managing your game collection.
http://pegasus-frontend.org
Other
1.18k stars 105 forks source link

Add relative command support #341

Closed mmatyas closed 5 years ago

mmatyas commented 5 years ago

"Is there a way to specify a relative directory for collections commands rather than absolute? I'm trying to make my build as portable as possible so having

command: G:\Dropbox\Emulation\PegasusLauncher\systems\redream\redream.exe "{file.path}"

Is definitely less desirable than

command: systems\redream\redream.exe "{file.path}""

substring commented 5 years ago

I'm using quite often portable mode, and by manually editing the config/game_dirs.txt you can use relative paths. For example:

./collections/megadrive
./collections/snes
mmatyas commented 5 years ago

This was a forum comment originally, and I think I've implemented something like this already. Someone mentioned another related problem though so I'll have to double check.