1786115216

This commit is contained in:
2026-08-07 17:06:56 +02:00
parent c75df145ec
commit 28ec15f308
2 changed files with 5 additions and 1 deletions

2
build
View File

@@ -3,4 +3,4 @@ git add .
git commit -am "$(date +%s)"
git push
ssh -t trekstor -- "cd dashboard && git pull && cargo b -r && systemctl --user restart dashboard"
ssh -t trekstor -- "cd dashboard && git pull && cargo r -r"

View File

@@ -15,6 +15,10 @@ use crate::{ha::HaClient, state::DashboardSnapshot, utils::*};
async fn main() -> Result<(), Box<dyn std::error::Error>> {
dotenvy::dotenv().ok();
for device in evdev::enumerate() {
dbg!(device.1.name());
}
#[cfg(not(feature = "dev"))]
slint::platform::set_platform(Box::new(crate::trekstor::Trekstor::new()))
.expect("set platform");