Change folder color with python (runtime)

So I found the workaround to change the ini file the folder color is saved in. But those changes will only be applied once I restart the editor. Is there the possibility to change the folder color at runtime?

mmmm … its little tricky to do that … i didnt test it …
but >>
the file for folder color path is in the Project folder in
Saved\Config\WindowsEditor\EditorScriptingUtilities.ini"
under the Line
[PathColor]
/Game/Characters=(R=1.000000,G=0.000000,B=0.000000,A=1.000000)

of course you can change it manuly or by python script >>
but in realytime will be tricky and i dontthonik it will work
i think the best way for this is to make a custome c++ function and call it Via Python …