initial import

This commit is contained in:
2025-06-22 20:39:04 -05:00
commit f8a70886f0
3428 changed files with 302546 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
--- a/util/Directories.cpp 2021-08-01 13:40:55.000000000 +0200
+++ b/util/Directories.cpp 2021-09-03 16:45:51.397237877 +0200
@@ -290,9 +290,9 @@
const fs::path GetRootDataDir() {
if (!g_initialized) InitDirs("");
- char* dir_name = br_find_data_dir(SHAREPATH);
- fs::path p(dir_name);
- std::free(dir_name);
+ //char* dir_name = br_find_data_dir(SHAREPATH);
+ fs::path p("/usr/share/games");
+ //std::free(dir_name);
p /= "freeorion";
// if the path does not exist, we fall back to the working directory
if (!exists(p)) {