mirror of
https://github.com/ilya-zlobintsev/LACT.git
synced 2025-02-25 18:55:26 -06:00
chore: clarify version mismatch message
This commit is contained in:
parent
a26bcec806
commit
f832369bab
@ -161,7 +161,7 @@ impl AsyncComponent for AppModel {
|
||||
let devices = devices_buf.inner().expect("Could not access devices");
|
||||
|
||||
if system_info.version != GUI_VERSION || system_info.commit.as_deref() != Some(GIT_COMMIT) {
|
||||
let err = anyhow!("Version mismatch between GUI and daemon ({GUI_VERSION}-{GIT_COMMIT} vs {}-{})! Make sure you have restarted the service if you have updated LACT.", system_info.version, system_info.commit.as_deref().unwrap_or_default());
|
||||
let err = anyhow!("Version mismatch between GUI and daemon ({GUI_VERSION}-{GIT_COMMIT} vs {}-{})! If you have updated LACT, you need to restart the service with `sudo systemctl restart lactd`.", system_info.version, system_info.commit.as_deref().unwrap_or_default());
|
||||
sender.input(AppMsg::Error(err.into()));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user