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