1786115216
This commit is contained in:
2
build
2
build
@@ -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"
|
||||
|
||||
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user