Do not append install dir for content type theme PKGs (#18765)
This commit is contained in:
@@ -807,7 +807,8 @@ bool package_reader::set_install_path()
|
||||
}
|
||||
|
||||
// TODO: Verify whether other content types require appending title ID
|
||||
if (m_metadata.content_type != PKG_CONTENT_TYPE_LICENSE)
|
||||
// Append title ID depending on content type
|
||||
if (m_metadata.content_type != PKG_CONTENT_TYPE_THEME && m_metadata.content_type != PKG_CONTENT_TYPE_LICENSE)
|
||||
dir += m_install_dir + '/';
|
||||
|
||||
// If false, an existing directory is being overwritten: cannot cancel the operation
|
||||
|
||||
Reference in New Issue
Block a user