mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2025-06-12 13:17:41 +02:00
@ -347,13 +347,18 @@ void ManagedPackPage::onUpdateTaskCompleted(bool did_succeed) const
|
||||
if (m_instance_window != nullptr)
|
||||
m_instance_window->close();
|
||||
|
||||
CustomMessageBox::selectable(nullptr, tr("Update Successful"), tr("The instance updated to pack version %1 successfully.").arg(m_inst->getManagedPackVersionName()), QMessageBox::Information)
|
||||
->show();
|
||||
CustomMessageBox::selectable(nullptr, tr("Update Successful"),
|
||||
tr("The instance updated to pack version %1 successfully.").arg(m_inst->getManagedPackVersionName()),
|
||||
QMessageBox::Information)
|
||||
->show();
|
||||
} else {
|
||||
CustomMessageBox::selectable(nullptr, tr("Update Failed"), tr("The instance failed to update to pack version %1. Please check launcher logs for more information.").arg(m_inst->getManagedPackVersionName()), QMessageBox::Critical)
|
||||
->show();
|
||||
CustomMessageBox::selectable(
|
||||
nullptr, tr("Update Failed"),
|
||||
tr("The instance failed to update to pack version %1. Please check launcher logs for more information.")
|
||||
.arg(m_inst->getManagedPackVersionName()),
|
||||
QMessageBox::Critical)
|
||||
->show();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
void ModrinthManagedPackPage::update()
|
||||
|
Reference in New Issue
Block a user