WeleSS2 / CapibaraEngine

Other
3 stars 0 forks source link

C. AppData for Unix/Linux machines #22

Open Pulsarnixx opened 1 month ago

Pulsarnixx commented 1 month ago

There are free main paths for log files:

They are all available by writing them explicitly (due to the flexibility of Unix/Linux) or /usr/local/share/ can be added indirectly using std::getenv("HOME") + ...

WeleSS2 commented 1 month ago

~ itself or .local will be best Can be also /usr/local/share for settings/etc but logs in ~/.local/share/logs so i think it will be better to have logs by default in ~

Our path currently is std::string(APPDATA_DIR()) + "/CapibaraEngine/Logs";// + Engine::getEngine()->getTitle() + "/Logs";

There will be also settings (For every title too)

Pulsarnixx commented 1 week ago

The changes we are discussing have been pushed out to the remote/MMAZ/refactor branch based on the JSAD/refactor-2 branch, as this is the most recent. I also add MacOS log patch but it must be reviewed by MacOS developers like @wachala-w .