DevBobcorn/MarkovCraft

Path issue on MacOS

Closed this issue · 2 comments

Hi @DevBobcorn
Your project is really awesome! I love this! Thank you so much for creating it

For the newest feature, download, we need to fix the path to run on MacOS

image

We should use Path.DirectorySeparatorChar instead of , for example

  
        public static string GetPacksDirectory()
        {
            return Directory.GetParent(Application.dataPath).FullName + @$"{Path.DirectorySeparatorChar}Resource Packs";
        }
  
```
So maybe we should create a helper function to correct all the current \

Thank you so much and have a nice day!

Thanks for that feedback! I'll fix this soon :)

I've replaced all slash characters in directories (7e43d06), and paths should work fine on macOS now