steam-rom-manager icon indicating copy to clipboard operation
steam-rom-manager copied to clipboard

[Feature Request] Environmental Variables

Open miketweaver opened this issue 2 years ago • 1 comments

Allow environmental variables in ROMs Directory

I have some apps, that by default, install to the same default location. It would be nice to allow my to create a config that selects that.

${os:win|%AppData%\PolyMC\instances|${os:linux|~/.local/share/PolyMC/instances}}

And anyone who deviates from that can set it manually.

miketweaver avatar Apr 29 '22 16:04 miketweaver

Yeah, currently it is limited to the "environment variables" that are available to the preparser, for example "${srmdir}". I should probably make the os one of them.

Obviously roms directory can't have all the same variables available to it as for example "glob" because at that point the rom directory isn't known.

cbartondock avatar May 04 '22 19:05 cbartondock