Closed KingRainbow44 closed 2 years ago
This is because GC is hardcoded to use the file separator \ (how it is on Windows). UNIX-based operating systems use / as the file seperator. Example: File folder = new File(Grasscutter.getConfig().RESOURCE_FOLDER + "BinOutput\\Avatar\\");
\
/
File folder = new File(Grasscutter.getConfig().RESOURCE_FOLDER + "BinOutput\\Avatar\\");
just change hardcoded \ to File.separator
File.separator
This is because GC is hardcoded to use the file separator
\
(how it is on Windows). UNIX-based operating systems use/
as the file seperator. Example:File folder = new File(Grasscutter.getConfig().RESOURCE_FOLDER + "BinOutput\\Avatar\\");