PKG: Ask to user if he wants to install game shortcut on PKG installation

This commit is contained in:
Eladash 2022-12-03 09:32:10 +02:00 committed by Ivan
parent b7d80ab335
commit 0d126afb1f
6 changed files with 175 additions and 12 deletions

View file

@ -312,6 +312,11 @@ public:
bool extract_data(atomic_t<double>& sync);
psf::registry get_psf() const { return m_psf; }
std::string try_get_bootable_file_path_if_created_new() const
{
return m_bootable_file_path;
}
private:
bool read_header();
bool read_metadata();
@ -334,4 +339,7 @@ private:
PKGHeader m_header{};
PKGMetaData m_metadata{};
psf::registry m_psf{};
// Expose bootable file installed (if installed such)
std::string m_bootable_file_path;
};