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.
This commit is contained in:
冰糖XH
2026-03-26 22:01:12 +08:00
parent 0073da9c8e
commit 79674b639b
8 changed files with 10 additions and 16 deletions

View File

@@ -72,6 +72,12 @@
<ClInclude Include="appxinfo.h">
<Filter>头文件</Filter>
</ClInclude>
<ClInclude Include="localeex.h">
<Filter>头文件</Filter>
</ClInclude>
<ClInclude Include="bridge.h">
<Filter>头文件</Filter>
</ClInclude>
<ClInclude Include="..\certmgr\certmgr.h">
<Filter>头文件</Filter>
</ClInclude>
@@ -84,12 +90,6 @@
<ClInclude Include="..\pkgread\pkgread.h">
<Filter>头文件</Filter>
</ClInclude>
<ClInclude Include="localeex.h">
<Filter>头文件</Filter>
</ClInclude>
<ClInclude Include="bridge.h">
<Filter>头文件</Filter>
</ClInclude>
<ClInclude Include="..\priformatcli\priformatcli.h">
<Filter>头文件</Filter>
</ClInclude>

View File

@@ -10,8 +10,7 @@
#include <codecvt>
#include <locale>
#include "nstring.h"
#include "priformatcli.h"
#include "pkgread.h"
#include "../priformatcli/priformatcli.h"
#include <mmsyscom.h>
#include "../pkgread/pkgread.h"

View File

@@ -1 +0,0 @@
D:/GitHub/App-Installer-For-Windows-8.x-Reset/certmgr/certmgr.h

View File

@@ -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"

View File

@@ -1 +0,0 @@
D:/GitHub/App-Installer-For-Windows-8.x-Reset/notice/notice.h

View File

@@ -1 +0,0 @@
D:/GitHub/App-Installer-For-Windows-8.x-Reset/pkgmgr/pkgmgr.h

View File

@@ -1 +0,0 @@
D:/GitHub/App-Installer-For-Windows-8.x-Reset/pkgread/pkgread.h

View File

@@ -1 +0,0 @@
D:/GitHub/App-Installer-For-Windows-8.x-Reset/priformatcli/priformatcli.h