mmatyas / pegasus-frontend

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

Allow Relative Path to Theme in settings.txt #1082

Closed doakey3 closed 8 months ago

doakey3 commented 8 months ago

Where: /config/settings.txt What: general.theme should accept a relative path to a theme. E.g.: general.theme: ./themes/MyTheme/

I tried launching pegasus-fe.exe with the --portable flag and moving the "themes" and "config" folders to the same location as the executable. No luck.

miguelguzmanr commented 8 months ago

A quick observation: general.theme does accept a relative path e.g. ../themes/Flixnet/ (tested on pegasus-fe_alpha16-67-g40b9b63a_win-mingw-static), however, switching themes will use an absolute path, even in portable mode.

doakey3 commented 8 months ago

So the path is relative to the settings.txt file. Thank you!