Compare commits
1 Commits
3d3790a83a
...
af7a5948a7
| Author | SHA1 | Date | |
|---|---|---|---|
| af7a5948a7 |
+13
-14
@@ -541,7 +541,7 @@ impl LauncherApp {
|
||||
status_text(ui, readiness_status(server), &server_label);
|
||||
ui.end_row();
|
||||
|
||||
ui.label(RichText::new("Client integration").color(theme::TEXT_WEAK));
|
||||
ui.label(RichText::new("Game files").color(theme::TEXT_WEAK));
|
||||
status_text(
|
||||
ui,
|
||||
readiness_status(integration),
|
||||
@@ -555,11 +555,11 @@ impl LauncherApp {
|
||||
);
|
||||
ui.end_row();
|
||||
|
||||
ui.label(RichText::new("Local services").color(theme::TEXT_WEAK));
|
||||
ui.label(RichText::new("Background helpers").color(theme::TEXT_WEAK));
|
||||
status_text(ui, readiness_status(services), &services_label);
|
||||
ui.end_row();
|
||||
|
||||
ui.label(RichText::new("Hook DLL").color(theme::TEXT_WEAK));
|
||||
ui.label(RichText::new("Game patch").color(theme::TEXT_WEAK));
|
||||
status_text(ui, readiness_status(hook), &hook_label);
|
||||
ui.end_row();
|
||||
});
|
||||
@@ -725,13 +725,12 @@ impl LauncherApp {
|
||||
match (ready, blocked) {
|
||||
(_, true) => (launch::Readiness::Attention, "Blocked".into()),
|
||||
(2, _) => (launch::Readiness::Ready, "Ready".into()),
|
||||
(0, _) => (
|
||||
// Not a problem: Launch starts them. Stating "Stopped" is honest
|
||||
// and does not demand an action.
|
||||
launch::Readiness::Unknown,
|
||||
"Stopped — Launch starts them".into(),
|
||||
),
|
||||
(_, _) => (launch::Readiness::Unknown, "Partly running".into()),
|
||||
// Neither stopped nor mid-start is a fault: the helpers only run
|
||||
// alongside a session and Launch brings up whatever is missing. This
|
||||
// used to read "Partly running", which sounds broken for what is the
|
||||
// normal idle state and gave the player nothing to act on. Say what
|
||||
// will happen instead.
|
||||
(_, _) => (launch::Readiness::Unknown, "Start with the game".into()),
|
||||
}
|
||||
}
|
||||
|
||||
@@ -745,14 +744,14 @@ impl LauncherApp {
|
||||
.and_then(|body| openfut_common::ServerConfig::parse(&body).ok())
|
||||
{
|
||||
Some(d) if d == self.config.server_config() => {
|
||||
(launch::Readiness::Ready, format!("Deployed → {}", d.host))
|
||||
(launch::Readiness::Ready, "Installed".into())
|
||||
}
|
||||
// Launch rewrites it, so this is not something to demand action for.
|
||||
Some(d) => (
|
||||
Some(_) => (
|
||||
launch::Readiness::Unknown,
|
||||
format!("Deployed → {} · Launch updates it", d.host),
|
||||
"Installed · Launch will update it".into(),
|
||||
),
|
||||
None => (launch::Readiness::Attention, "No openfut.cfg".into()),
|
||||
None => (launch::Readiness::Attention, "Not set up".into()),
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user