mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-09-09 15:30:42 +02:00
Fix macOS data directory (for real this time, I think)
This commit is contained in:
@@ -561,9 +561,9 @@ void ChdirToDataDirectory()
|
||||
|
||||
FSRefMakePath( &ref, (UInt8*)&path, PATH_MAX );
|
||||
|
||||
const char *tptPath = (std::string(path) + "/The Powder Toy").c_str();
|
||||
mkdir(tptPath, 0755);
|
||||
chdir(tptPath);
|
||||
std::string tptPath = std::string(path) + "/The Powder Toy";
|
||||
mkdir(tptPath.c_str(), 0755);
|
||||
chdir(tptPath.c_str());
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user