Update package version to 0.9.1
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
name: lact
|
name: lact
|
||||||
description: Linux GPU configuration and monitoring tool
|
description: Linux GPU configuration and monitoring tool
|
||||||
version: 0.9.0
|
version: 0.9.1
|
||||||
revision: 2
|
revision: 1
|
||||||
url: https://github.com/ilya-zlobintsev/LACT
|
url: https://github.com/ilya-zlobintsev/LACT
|
||||||
license: MIT
|
license: MIT
|
||||||
maintainers:
|
maintainers:
|
||||||
@@ -29,4 +29,4 @@ downloads:
|
|||||||
- url: https://github.com/ilya-zlobintsev/LACT/archive/refs/tags/v${BPM_PKG_VERSION}.tar.gz
|
- url: https://github.com/ilya-zlobintsev/LACT/archive/refs/tags/v${BPM_PKG_VERSION}.tar.gz
|
||||||
extract_to: ${BPM_SOURCE}
|
extract_to: ${BPM_SOURCE}
|
||||||
extract_strip_components: 1
|
extract_strip_components: 1
|
||||||
checksum: 4a422ef394351704b6506d97e1a8ff262b8cd9af4b81ef1e096bc60c22797bf8
|
checksum: cb6790ffb99104ffb93502c82e19b9e8d07ec7c1eadf131948694d48eba49789
|
||||||
|
|||||||
@@ -1,35 +1,13 @@
|
|||||||
diff --git a/docs/CONFIG.md b/docs/CONFIG.md
|
|
||||||
index 2b1a803..29a86fd 100644
|
|
||||||
--- a/docs/CONFIG.md
|
|
||||||
+++ b/docs/CONFIG.md
|
|
||||||
@@ -1,7 +1,7 @@
|
|
||||||
# Configuration
|
|
||||||
|
|
||||||
The LACT config file is located in `/etc/lact/config.yaml`, and contains all of the GPU settings that are typically edited in the GUI, as well as a few settings specifying the behaviour of the daemon.
|
|
||||||
-LACT listens for config file changes and reloads all GPU settings automatically, but daemon-related settings such as the logging level or permissions require a service restart (`systemctl restart lactd`).
|
|
||||||
+LACT listens for config file changes and reloads all GPU settings automatically, but daemon-related settings such as the logging level or permissions require a service restart (` ectl sv restart lactd`).
|
|
||||||
|
|
||||||
Full config file with all possible options:
|
|
||||||
```yaml
|
|
||||||
diff --git a/lact-gui/src/app.rs b/lact-gui/src/app.rs
|
diff --git a/lact-gui/src/app.rs b/lact-gui/src/app.rs
|
||||||
index 46ba0d4..8def77c 100644
|
index df67331..6f3da51 100644
|
||||||
--- a/lact-gui/src/app.rs
|
--- a/lact-gui/src/app.rs
|
||||||
+++ b/lact-gui/src/app.rs
|
+++ b/lact-gui/src/app.rs
|
||||||
@@ -423,7 +423,7 @@ impl AsyncComponent for AppModel {
|
@@ -562,7 +562,7 @@ impl AsyncComponent for AppModel {
|
||||||
|
"embedded-daemon-info",
|
||||||
if system_info.version != GUI_VERSION || system_info.commit.as_deref() != Some(GIT_COMMIT) {
|
error_info = format!("Error info: {err:#}\n\n")
|
||||||
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`.",
|
- selectable_text: Some("sudo systemctl enable --now lactd".to_string()),
|
||||||
+ "Version mismatch between GUI and daemon ({GUI_VERSION}-{GIT_COMMIT} vs {}-{})! If you have updated LACT, you need to restart the service with `sudo ectl sv reload && sudo ectl sv restart lactd`.",
|
+ selectable_text: Some("sudo ectl sv reload && sudo ectl sv enable lactd && sudo ectl sv restart lactd".to_string()),
|
||||||
system_info.version,
|
..Default::default()
|
||||||
system_info.commit.as_deref().unwrap_or_default()
|
})));
|
||||||
);
|
}
|
||||||
@@ -1290,7 +1290,7 @@ fn show_embedded_info(parent: &ApplicationWindow, err: anyhow::Error) {
|
|
||||||
|
|
||||||
let text_label = gtk::Label::new(Some(&text));
|
|
||||||
let enable_label = gtk::Entry::builder()
|
|
||||||
- .text("sudo systemctl enable --now lactd")
|
|
||||||
+ .text("sudo ectl sv reload && sudo ectl sv enable lactd && sudo ectl sv start lactd")
|
|
||||||
.editable(false)
|
|
||||||
.build();
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user