summaryrefslogtreecommitdiffstats
path: root/ozone-cli/src/main.rs
diff options
context:
space:
mode:
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?;