Add a console client.

This commit is contained in:
Bruce
2025-02-22 11:27:28 +08:00
parent 3a70be9491
commit 0ff448fdb8
59 changed files with 5431 additions and 2 deletions

View File

@@ -571,7 +571,7 @@ bool AppxReader::isFileReaderAvailable ()
bool AppxReader::destroy ()
{
if (!this->isAvailable ()) return false; // 表示已销毁等
this->m_appxReader->Release ();
if (this->m_appxReader) this->m_appxReader->Release ();
this->m_appxReader = NULL;
this->m_filePath = std::wstring (L"");
return true;
@@ -1145,7 +1145,7 @@ bool BundleReader::isFileReaderAvailable ()
bool BundleReader::destroy ()
{
if (!this->isAvailable ()) return false; // 表示已销毁等
this->m_bundleReader->Release ();
if (this->m_bundleReader) this->m_bundleReader->Release ();
this->m_bundleReader = NULL;
this->m_filePath = std::wstring (L"");
return true;