From c74f90ef044a8c1ec899c4d0cae5cb3aa0b94898 Mon Sep 17 00:00:00 2001 From: Cory McWilliams Date: Wed, 26 Feb 2025 18:54:00 -0500 Subject: [PATCH] core: Fix stock apps not being loaded/updated. --- src/main.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main.c b/src/main.c index aacae3f07..2f47ada20 100644 --- a/src/main.c +++ b/src/main.c @@ -1299,10 +1299,12 @@ static int _tf_run_task(const tf_run_args_t* args, int index) sqlite3* db = tf_ssb_acquire_db_reader(ssb); int64_t http_port = 0; int64_t https_port = 0; + char out_http_port_file[512] = ""; tf_ssb_db_get_global_setting_int64(db, "http_port", &http_port); tf_ssb_db_get_global_setting_int64(db, "https_port", &https_port); + tf_ssb_db_get_global_setting_string(db, "out_http_port_file", out_http_port_file, sizeof(out_http_port_file)); tf_ssb_release_db_reader(ssb, db); - if (http_port || https_port) + if (http_port || https_port || *out_http_port_file) { if (args->zip) {