thank you cvolton

This commit is contained in:
altalk23 2023-10-16 18:47:20 +03:00
parent a9d3bfd693
commit 8ca3b9fce2

View file

@ -17,18 +17,13 @@ void geode::openIssueReportPopup(Mod* mod) {
if (mod->getMetadata().getIssues()) {
MDPopup::create(
"Issue Report",
mod->getMetadata().getIssues().value().info +
"\n\n"
"Please report the issue to the mod that caused the crash.\n"
"If your issue relates to a <cr>game crash</c>, <cb>please include</c> the "
"latest crash log(s) from `" +
dirs::getCrashlogsDir().string() + "`",
"OK", (mod->getMetadata().getIssues().value().url ? "Open URL" : ""),
"OK", "",
[mod](bool btn2) {
if (btn2) {
web::openLinkInBrowser(
mod->getMetadata().getIssues().value().url.value()
);
}
}
)->show();
}