Skip to content

Conversation

@elad335
Copy link
Contributor

@elad335 elad335 commented Dec 6, 2025

The log error is remained, and if you install multiple PKGs it would only print the missing RAP file path.
image

Relates to #17805

@elad335 elad335 added the GUI label Dec 6, 2025
@Megamouse
Copy link
Contributor

I think the message only creates more questions than answers.
You can just drag and drop the file after all


if (std::count(missing_licenses_short.begin(), missing_licenses_short.end(), '\n') < 5)
{
missing_licenses_short += std::string_view(filepath).substr(filepath.find_last_of(fs::delim) + 1);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's the purpose of casting to stringview here?


if (!missing_licenses.empty())
{
gui_log.fatal("Failed to locate the game license file(s):\n%s"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why fatal?

}
else
{
pkg_log.notice("PKG need not a license file.");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Grammar

return {};
}

if (npd->license == 1) // Network license.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Switch

}

// Check the ELF file class (32 or 64 bit).
const bool isElf32 = IsSelfElf32(elf_or_self);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

snake_case

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants