Import stock apps from the apk.

git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4210 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
2023-03-09 01:39:48 +00:00
parent 6064ed6a3a
commit d532795b7f
3 changed files with 137 additions and 2 deletions

View File

@ -357,7 +357,14 @@ static int _tf_run_task(const tf_run_args_t* args, int index)
tf_task_activate(task);
if (args->ssb_port)
{
tf_ssb_import(tf_task_get_ssb(task), "core", "apps");
if (args->zip)
{
tf_ssb_import_from_zip(tf_task_get_ssb(task), args->zip, "core", "apps");
}
else
{
tf_ssb_import(tf_task_get_ssb(task), "core", "apps");
}
}
if (tf_task_execute(task, args->script))
{