Playnite icon indicating copy to clipboard operation
Playnite copied to clipboard

Expand game variables for PARTs accessible in themes

Open azuravian opened this issue 1 year ago • 0 comments

Feature description

Some strings that can be used in themes, such as the path bound to the button content in PART_ButtonInstallDirectory can include game variables. I believe these should be expanded before binding.

For example, in themes that implement the install directory button, many of my locally installed games use the {Name} variable in the string.

When clicking on the button, it expands the variable as part of the function and opens the correct folder, but it is displayed with the variable in the theme (see below).

Screenshots

image

azuravian avatar Feb 02 '24 09:02 azuravian