summaryrefslogtreecommitdiffstats
path: root/ozone-cli/src/main.rs
diff options
context:
space:
mode:
authorLibravatar bigfoot547 <[email protected]>2025-02-03 00:41:44 -0600
committerLibravatar bigfoot547 <[email protected]>2025-02-03 00:41:44 -0600
commit5dd7003abf6c07fa491f52ee0c0d661903bb66fe (patch)
tree244ca269a9c2aff2a1fc439bfe7ca37485445b99 /ozone-cli/src/main.rs
parentrandom ahh changes before I make the actual thing (diff)
mess with stuff
Diffstat (limited to 'ozone-cli/src/main.rs')
-rw-r--r--ozone-cli/src/main.rs9
1 files changed, 1 insertions, 8 deletions
diff --git a/ozone-cli/src/main.rs b/ozone-cli/src/main.rs
index f94fbe6..a17979e 100644
--- a/ozone-cli/src/main.rs
+++ b/ozone-cli/src/main.rs
@@ -1,19 +1,12 @@
-use std::env::consts::{ARCH, OS};
use std::error::Error;
use log::{error, info};
-use sysinfo::System;
use ozone::launcher::{Launcher, Settings};
#[tokio::main]
async fn main() -> Result<(), Box<dyn Error>> {
simple_logger::SimpleLogger::new().env().init().unwrap();
-
- info!("Hello, world!");
- info!("stuff: {:?} {:?} {:?} {:?} {:?}", System::name(), System::os_version(), System::long_os_version(), System::kernel_version(), System::cpu_arch());
- info!("stuff: {:?} {:?} {:?} {}", System::distribution_id(), OS, ARCH, size_of::<*const i32>());
-
-
+ info!("Sensible home could be {:?}", Launcher::sensible_home());
let settings = Settings::load("./work/ozone.json").await?;
settings.save().await?;