CPStyling.lua 1.0.1
Fixed a stupid rootpath error in CPStyling.lua
Note: Due to some issue of CET 1.8.4, the root path of io.open()
is different depending on how people launch their games. You need to setup something like a rootPathIO
in your init.lua
for your png file path.
If they launch with admin privilege (that's what Vortex does) the rootPathIO
should be starting from.\plugins\..
, otherwise it should be from .\bin\x64\plugins\..
It's up to you how to detect the root path.