mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-23 16:07:52 -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()) {
|
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();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue