=> 9dde79687cf91080e29f45a33766a433d61b4c5c
[1mdiff --git a/src/app.c b/src/app.c[m [1mindex c663e02b..c2d778bb 100644[m [1m--- a/src/app.c[m [1m+++ b/src/app.c[m [36m@@ -115,10 +115,15 @@[m [mstatic const char *defaultDataDir_App_ = "~/.config/lagrange";[m static const char *defaultDataDir_App_ = "~/config/settings/lagrange";[m #endif[m #define EMB_BIN_EXEC "../resources.lgr" /* fallback from build/executable dir */[m [32m+[m[32m#if defined (iPlatformTerminal)[m [32m+[m[32m# define STATE_NAME "cstate" /* separate for console since it's a different environment */[m [32m+[m[32m#else[m [32m+[m[32m# define STATE_NAME "state"[m [32m+[m[32m#endif[m static const char *prefsFileName_App_ = "prefs.cfg";[m [31m-static const char *oldStateFileName_App_ = "state.binary";[m [31m-static const char *stateFileName_App_ = "state.lgr";[m [31m-static const char *tempStateFileName_App_ = "state.lgr.tmp";[m [32m+[m[32mstatic const char *oldStateFileName_App_ = STATE_NAME ".binary";[m [32m+[m[32mstatic const char *stateFileName_App_ = STATE_NAME ".lgr";[m [32m+[m[32mstatic const char *tempStateFileName_App_ = STATE_NAME ".lgr.tmp";[m static const char *defaultDownloadDir_App_ = "~/Downloads";[m [m static const int idleThreshold_App_ = 1000; /* ms */[m
text/gemini; charset=utf-8
This content has been proxied by September (3851b).