From 5c66a6517187d0330176bd98e4258ddb7fd5b35c Mon Sep 17 00:00:00 2001 From: owendswang Date: Thu, 27 Aug 2026 13:28:40 +0800 Subject: [PATCH] Added PKG info diag --- Makefile | 4 +- assets/index.html | 14 ++ assets/lang-en.js | 3 + assets/lang-zh.js | 3 + assets/main.css | 64 +++++ assets/main.js | 175 ++++++++++--- src/filemgr.c | 201 +++++++++++++-- src/filemgr_internal.h | 2 + src/pkg_info.c | 556 +++++++++++++++++++++++++++++++++++++++++ src/pkg_info.h | 6 + src/task.c | 6 +- 11 files changed, 975 insertions(+), 59 deletions(-) create mode 100644 src/pkg_info.c create mode 100644 src/pkg_info.h diff --git a/Makefile b/Makefile index de9e7f5..10c852d 100644 --- a/Makefile +++ b/Makefile @@ -13,7 +13,7 @@ ifeq ($(MAKECMDGOALS),) endif endif -VERSION_TAG := v1.6 +VERSION_TAG := v1.7 TITLE_ID := FMGR88888 PYTHON ?= python3 STRIP ?= $(PS5_PAYLOAD_SDK)/bin/prospero-strip @@ -24,7 +24,7 @@ HOST_PKG_CONFIG ?= pkg-config BIN := web-file-mgr.elf LINUX_BIN := web-file-mgr-linux -COMMON_SRCS := src/main.c src/websrv.c src/filemgr.c src/file_response.c src/task.c src/upload.c src/download.c src/text.c src/list.c src/space.c src/fs_util.c src/json_util.c src/path_util.c src/asset.c src/mime.c src/notify.c src/pkg_installer.c +COMMON_SRCS := src/main.c src/websrv.c src/filemgr.c src/file_response.c src/task.c src/upload.c src/download.c src/text.c src/list.c src/space.c src/fs_util.c src/json_util.c src/path_util.c src/asset.c src/mime.c src/notify.c src/pkg_installer.c src/pkg_info.c PS5_SRCS := $(COMMON_SRCS) src/app_installer.c LINUX_SRCS := $(COMMON_SRCS) BASE_ASSETS := $(filter-out %.dds,$(wildcard assets/*)) diff --git a/assets/index.html b/assets/index.html index 37f93c3..5455eb8 100644 --- a/assets/index.html +++ b/assets/index.html @@ -123,6 +123,20 @@ + +