From ad98e715400347f3cc90320211946062abcf69d4 Mon Sep 17 00:00:00 2001 From: reidlab Date: Tue, 31 Oct 2023 20:08:20 -0700 Subject: [PATCH 1/2] i keep on forgetting to remove old stuff --- readme.md | 1 - src/main.rs | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/readme.md b/readme.md index ea92d9d..ad6549b 100644 --- a/readme.md +++ b/readme.md @@ -37,7 +37,6 @@ add `--help` or `-h` when calling the binary for special tools, such as patching ## todo -- add get levels search back (find how to easily do dynamic queries) - user icons in account management pages - account settings page - better web design (make formatting more consistant) diff --git a/src/main.rs b/src/main.rs index 63b0908..1f0911b 100644 --- a/src/main.rs +++ b/src/main.rs @@ -25,11 +25,10 @@ async fn files(file: PathBuf) -> Option { #[launch] async fn rocket() -> _ { - // init stuff + // initiate database stuff crate::helpers::reupload::init().await; // data directories - // unhardcore this maybe? fs::create_dir_all(config::config_get_with_default("db.data_folder", "data".to_string())).expect("failed to create data directory!"); fs::create_dir_all(format!("{}/levels", config::config_get_with_default("db.data_folder", "data".to_string()))).expect("failed to create data directory for levels"); From f4aef5e3abd379cefdbca8c1366f6a08056ff0b3 Mon Sep 17 00:00:00 2001 From: reidlab Date: Tue, 31 Oct 2023 20:10:36 -0700 Subject: [PATCH 2/2] remove more unused things --- readme.md | 4 ---- 1 file changed, 4 deletions(-) diff --git a/readme.md b/readme.md index ad6549b..f90162b 100644 --- a/readme.md +++ b/readme.md @@ -31,10 +31,6 @@ run `sqlx database setup` then finally run the server with `cargo run` -## CLI tools - -add `--help` or `-h` when calling the binary for special tools, such as patching executables. - ## todo - user icons in account management pages