mirror of
https://github.com/reactos/reactos.git
synced 2025-08-07 05:43:08 +00:00
[RAPPS] add m_szPkgName for AvailableApps
This commit is contained in:
parent
c5e111427c
commit
da8810ab88
2 changed files with 9 additions and 1 deletions
|
@ -38,6 +38,13 @@ VOID CAvailableApplicationInfo::RetrieveGeneralInfo(AvailableStrings& AvlbString
|
|||
{
|
||||
m_Parser = new CConfigParser(m_sFileName);
|
||||
|
||||
// TODO: I temporarily use the file name (without suffix) as package name.
|
||||
// It should be better to put this in a field of ini file.
|
||||
// consider write a converter to do this and write a github action for rapps-db to ensure package_name is unique.
|
||||
m_szPkgName = m_sFileName;
|
||||
PathRemoveExtensionW(m_szPkgName.GetBuffer(MAX_PATH));
|
||||
m_szPkgName.ReleaseBuffer();
|
||||
|
||||
m_Parser->GetInt(L"Category", m_Category);
|
||||
|
||||
if (!GetString(L"Name", m_szName)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue