RetroHursty69 / HurstyThemes

RetroPie Emulation Station Themes Downloader
37 stars 12 forks source link

[Feature] Linux distro-agnostic support #15

Open Beethoven-n opened 3 months ago

Beethoven-n commented 3 months ago

This is actually a pretty easy feature that you might be able to add on your own, but I figure that I might step in to make it a bit easier.

Your script is almost all of the way to being completely independent of RetroPie, save for a few distro-related quirks that're extremely easy to patch with cursory shell knowledge. I'm going to actually send a pull request with some code about it, but I want to first ask one question.

On a valid RetroPie setup, can you get me the output of cat /etc/os-release? I'll be on my way to implementing this entirely on my own, I just need to know that output to check for that case.

Beethoven-n commented 3 months ago

i probably won't be able to get the randomizer working, but i can get the theme managers working, and that's all i really wanted in the first place

Beethoven-n commented 3 months ago

actually, the reason my request wouldn't make the randomizer work is that other distros don't expect ES to be run as a kiosk, so you'd boot your OS, then boot into ES

so choosing a theme on boot is a moot point

Beethoven-n commented 3 months ago

you know what, who am i to judge who wants to run non-RetroPie systems for this you should be able to just drop the theme randomizer in /usr/bin/ and call it

Beethoven-n commented 3 months ago

erm... no so the randomizer is dependent on retropie's autostart.sh that's not necessarily a thing in other distros, unfortunately. i'm still going to fix up the enable and disable script functions because you committed cat abuse