diff options
| author | 2025-02-03 00:41:44 -0600 | |
|---|---|---|
| committer | 2025-02-03 00:41:44 -0600 | |
| commit | 5dd7003abf6c07fa491f52ee0c0d661903bb66fe (patch) | |
| tree | 244ca269a9c2aff2a1fc439bfe7ca37485445b99 /ozone-cli/src | |
| parent | random ahh changes before I make the actual thing (diff) | |
mess with stuff
Diffstat (limited to 'ozone-cli/src')
| -rw-r--r-- | ozone-cli/src/main.rs | 9 |
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?; |
