chore(rename): aee_2026 -> aee_arcade

This commit is contained in:
JailDesigner committed 2026-05-07 18:39:02 +02:00
1 parent ea5762265e
commit 9949096fba
20 files changed
+41 -41

No files matched your search

+4 -4
View File
@@ -70,7 +70,7 @@ Director::Director() {
std::exit(1);
}
// Prepara la carpeta de sistema (~/.config/jailgames/aee_2026/) i carrega
// Prepara la carpeta de sistema (~/.config/jailgames/aee_arcade/) i carrega
// les opcions; si no existeix config.yaml el crea amb els defaults.
createSystemFolder();
@@ -326,8 +326,8 @@ Director::~Director() {
}
void Director::createSystemFolder() {
// Volem la config a $XDG_CONFIG_HOME/jailgames/aee_2026/ (defecte
// ~/.config/jailgames/aee_2026/). SDL_GetPrefPath apunta a XDG_DATA_HOME
// Volem la config a $XDG_CONFIG_HOME/jailgames/aee_arcade/ (defecte
// ~/.config/jailgames/aee_arcade/). SDL_GetPrefPath apunta a XDG_DATA_HOME
// (.local/share), que és el lloc per a dades, no per a configuració.
const char* xdg = std::getenv("XDG_CONFIG_HOME");
std::string base;
@@ -337,7 +337,7 @@ void Director::createSystemFolder() {
const char* home = std::getenv("HOME");
base = (home != nullptr) ? std::string(home) + "/.config" : ".";
}
system_folder_ = base + "/jailgames/aee_2026/";
system_folder_ = base + "/jailgames/aee_arcade/";
std::error_code error;
std::filesystem::create_directories(system_folder_, error);