mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-27 09:55:34 -05:00
thank you cvolton
This commit is contained in:
parent
a9d3bfd693
commit
8ca3b9fce2
1 changed files with 3 additions and 8 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue