Fixed apps not working most of the time. Ultimately, storing a pointer to the database using JS_NewInt64 was lossy and a bad idea. Also, remove use of JNI since we're only starting tildefriends as its own process now.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4215 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
@ -45,10 +45,6 @@ void tf_taskstub_startup()
|
||||
JS_NewClassID(&_classId);
|
||||
size_t size = sizeof(_executable);
|
||||
uv_exepath(_executable, &size);
|
||||
#if defined(__ANDROID__)
|
||||
/* We have already changed into our files directory. */
|
||||
snprintf(_executable, sizeof(_executable), "./tildefriends");
|
||||
#endif
|
||||
tf_printf("exepath is %s\n", _executable);
|
||||
initialized = true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user