retrohub-org / retrohub

Retrogaming library frontend, built to be a highly customizable platform.
https://retrohub-org.github.io/
MIT License
110 stars 6 forks source link

Use different config directory for development #39

Closed rsubtil closed 1 year ago

rsubtil commented 1 year ago

During development, it would be better if RetroHub worked under a different directiory (e.g. ~/.retrohub-dev) to avoid having it mess with any existing legitimante configurations and also create a safe space for editing and deleting generated files.

This should be pretty easy to do using Godot feature tags. These features get added on export, and it should be a matter of having a flag under Config for switching the directory.

This also opens the door for creating custom UI/behavior for development versions.

rsubtil commented 1 year ago

There's not even need to create a custom feature. From testing, the standalone feature indicates whether this is running from an editor build. This should be enough to differentiate