Import stock apps into /~core/ at launch. Makes the first time experience vaguely work with only running and clicking in the web interface.

git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3774 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
2022-01-17 22:00:42 +00:00
parent c864041fa0
commit 0b5017b208
4 changed files with 9 additions and 1 deletions

View File

@ -14,6 +14,7 @@ typedef int exportid_t;
typedef struct _tf_taskstub_t tf_taskstub_t;
typedef struct _tf_task_t tf_task_t;
typedef struct _tf_trace_t tf_trace_t;
typedef struct _tf_ssb_t tf_ssb_t;
static const taskid_t k_task_parent_id = 0;
@ -53,6 +54,7 @@ JSValue tf_task_add_import(tf_task_t* task, taskid_t stub_id, exportid_t export_
uv_loop_t* tf_task_get_loop(tf_task_t* task);
tf_task_t* tf_task_get(JSContext* context);
tf_trace_t* tf_task_get_trace(tf_task_t* task);
tf_ssb_t* tf_task_get_ssb(tf_task_t* task);
void tf_task_run_jobs(tf_task_t* task);
const char* tf_task_get_name(tf_task_t* task);