diff options
Diffstat (limited to '')
-rw-r--r-- | src/extantz/extantz.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/extantz/extantz.c b/src/extantz/extantz.c index f2c0a43..7a21aee 100644 --- a/src/extantz/extantz.c +++ b/src/extantz/extantz.c | |||
@@ -15,6 +15,18 @@ globals ourGlobals; | |||
15 | //static char *myKey = "12345678-1234-4321-abcd-0123456789ab"; | 15 | //static char *myKey = "12345678-1234-4321-abcd-0123456789ab"; |
16 | //static char *myName = "onefang rejected"; | 16 | //static char *myName = "onefang rejected"; |
17 | 17 | ||
18 | static const char *dirs[] = | ||
19 | { | ||
20 | ".cache", | ||
21 | ".cache/compiled", | ||
22 | ".cache/converted", | ||
23 | ".cache/sha1", | ||
24 | ".cache/types", | ||
25 | ".cache/unpacked", | ||
26 | ".download", | ||
27 | "inventory", | ||
28 | NULL | ||
29 | }; | ||
18 | 30 | ||
19 | 31 | ||
20 | #if USE_LOVE | 32 | #if USE_LOVE |
@@ -586,10 +598,15 @@ static Eina_Bool _makeSkang(void *data) | |||
586 | EAPI_MAIN int elm_main(int argc, char **argv) | 598 | EAPI_MAIN int elm_main(int argc, char **argv) |
587 | { | 599 | { |
588 | GLData *gld = NULL; | 600 | GLData *gld = NULL; |
601 | char temp[PATH_MAX]; | ||
589 | // Eina_Bool gotWebKit = elm_need_web(); // Initialise ewebkit if it exists, or return EINA_FALSE if it don't. | 602 | // Eina_Bool gotWebKit = elm_need_web(); // Initialise ewebkit if it exists, or return EINA_FALSE if it don't. |
590 | 603 | ||
591 | logDom = HamrTime(argv[0], elm_main, logDom); | 604 | logDom = HamrTime(argv[0], elm_main, logDom); |
592 | 605 | ||
606 | // Create our home directories, if not already created. | ||
607 | sprintf(temp, "%s/.SledjHamr", eina_environment_home_get()); | ||
608 | ecore_file_mksubdirs(temp, dirs); | ||
609 | |||
593 | /* Set the locale according to the system pref. | 610 | /* Set the locale according to the system pref. |
594 | * If you don't do so the file selector will order the files list in | 611 | * If you don't do so the file selector will order the files list in |
595 | * a case sensitive manner | 612 | * a case sensitive manner |