From 5dd7003abf6c07fa491f52ee0c0d661903bb66fe Mon Sep 17 00:00:00 2001 From: bigfoot547 Date: Mon, 3 Feb 2025 00:41:44 -0600 Subject: mess with stuff --- ozone-cli/Cargo.toml | 1 + ozone-cli/src/main.rs | 9 +-------- 2 files changed, 2 insertions(+), 8 deletions(-) (limited to 'ozone-cli') diff --git a/ozone-cli/Cargo.toml b/ozone-cli/Cargo.toml index 61b7808..e793eaa 100644 --- a/ozone-cli/Cargo.toml +++ b/ozone-cli/Cargo.toml @@ -9,3 +9,4 @@ ozone = { path = "../ozone" } tokio = { version = "1.43.0", features = ["rt", "rt-multi-thread", "macros"] } simple_logger = { version = "5.0.0", features = ["colors"] } log = "0.4.25" +clap = "4.5.27" 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> { 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?; -- cgit v1.2.3-70-g09d2