From 79674b639bf1e57fadbb5a3990470b6d7c96e5e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=86=B0=E7=B3=96XH?= <76904365+bingtangxh@users.noreply.github.com> Date: Thu, 26 Mar 2026 22:01:12 +0800 Subject: [PATCH] Use external headers; remove local header links Replace local header placeholders in appinstaller with direct references to upstream headers. Deleted the gitlink/header stubs (certmgr.h, notice.h, pkgmgr.h, pkgread.h, priformatcli.h) from appinstaller, updated main.cpp and appxinfo.h to include the ../path to those headers, and adjusted appinstaller.vcxproj.filters to point to the new locations. Cleans up redundant local links and ensures the project references the original header files. --- appinstaller/appinstaller.vcxproj.filters | 12 ++++++------ appinstaller/appxinfo.h | 3 +-- appinstaller/certmgr.h | 1 - appinstaller/main.cpp | 6 +++--- appinstaller/notice.h | 1 - appinstaller/pkgmgr.h | 1 - appinstaller/pkgread.h | 1 - appinstaller/priformatcli.h | 1 - 8 files changed, 10 insertions(+), 16 deletions(-) delete mode 120000 appinstaller/certmgr.h delete mode 120000 appinstaller/notice.h delete mode 120000 appinstaller/pkgmgr.h delete mode 120000 appinstaller/pkgread.h delete mode 120000 appinstaller/priformatcli.h diff --git a/appinstaller/appinstaller.vcxproj.filters b/appinstaller/appinstaller.vcxproj.filters index 0bc64fe..dbda387 100644 --- a/appinstaller/appinstaller.vcxproj.filters +++ b/appinstaller/appinstaller.vcxproj.filters @@ -72,6 +72,12 @@ 头文件 + + 头文件 + + + 头文件 + 头文件 @@ -84,12 +90,6 @@ 头文件 - - 头文件 - - - 头文件 - 头文件 diff --git a/appinstaller/appxinfo.h b/appinstaller/appxinfo.h index 05e9582..8f5ef41 100644 --- a/appinstaller/appxinfo.h +++ b/appinstaller/appxinfo.h @@ -10,8 +10,7 @@ #include #include #include "nstring.h" -#include "priformatcli.h" -#include "pkgread.h" +#include "../priformatcli/priformatcli.h" #include #include "../pkgread/pkgread.h" diff --git a/appinstaller/certmgr.h b/appinstaller/certmgr.h deleted file mode 120000 index 6f1945b..0000000 --- a/appinstaller/certmgr.h +++ /dev/null @@ -1 +0,0 @@ -D:/GitHub/App-Installer-For-Windows-8.x-Reset/certmgr/certmgr.h \ No newline at end of file diff --git a/appinstaller/main.cpp b/appinstaller/main.cpp index 0bf901f..861f8cb 100644 --- a/appinstaller/main.cpp +++ b/appinstaller/main.cpp @@ -20,9 +20,9 @@ #include "resmap.h" #include "appxinfo.h" #include "localeex.h" -#include "pkgmgr.h" -#include "notice.h" -#include "certmgr.h" +#include "../pkgmgr/pkgmgr.h" +#include "../notice/notice.h" +#include "../certmgr/certmgr.h" #include "bridge.h" #include "filepath.h" diff --git a/appinstaller/notice.h b/appinstaller/notice.h deleted file mode 120000 index 30a7f3f..0000000 --- a/appinstaller/notice.h +++ /dev/null @@ -1 +0,0 @@ -D:/GitHub/App-Installer-For-Windows-8.x-Reset/notice/notice.h \ No newline at end of file diff --git a/appinstaller/pkgmgr.h b/appinstaller/pkgmgr.h deleted file mode 120000 index 5e021c9..0000000 --- a/appinstaller/pkgmgr.h +++ /dev/null @@ -1 +0,0 @@ -D:/GitHub/App-Installer-For-Windows-8.x-Reset/pkgmgr/pkgmgr.h \ No newline at end of file diff --git a/appinstaller/pkgread.h b/appinstaller/pkgread.h deleted file mode 120000 index ebe33f8..0000000 --- a/appinstaller/pkgread.h +++ /dev/null @@ -1 +0,0 @@ -D:/GitHub/App-Installer-For-Windows-8.x-Reset/pkgread/pkgread.h \ No newline at end of file diff --git a/appinstaller/priformatcli.h b/appinstaller/priformatcli.h deleted file mode 120000 index 146f8f9..0000000 --- a/appinstaller/priformatcli.h +++ /dev/null @@ -1 +0,0 @@ -D:/GitHub/App-Installer-For-Windows-8.x-Reset/priformatcli/priformatcli.h \ No newline at end of file