Don't redirect logging output when compiling for the web

This commit is contained in:
ROllerozxa 2025-03-11 21:24:00 +01:00
commit 9648b16f1b

View file

@ -112,7 +112,7 @@ int main(int argc, char **argv)
mkdir(tbackend_get_storage_path(), S_IRWXU | S_IRWXG | S_IRWXO);
#endif
#ifndef DEBUG
#if !defined(DEBUG) && !defined(__EMSCRIPTEN__)
char logfile[1024];
snprintf(logfile, 1023, "%s/run.log", tbackend_get_storage_path());