From f32bf1ebca3b6cb5d3c6022f99bb652536772e3f Mon Sep 17 00:00:00 2001 From: Kaley Fischer Date: Thu, 25 Jan 2024 13:55:46 +0100 Subject: [PATCH] unimportant: removed config create from -c --- README.md | 6 ++++++ src/main.cpp | 7 ------- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index a71aafe..e4c7ea7 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,12 @@ LISTING COMMANDS: -c: To specify which config to use. -b: Make a executable out of a config. ``` +### You will need first to setup the config dir +To do that you just need to, use this command. +``` +RapidMenu +``` +And it should say "created dir". ### How to use (-c) If you want to open a configuration, just use this command. ``` diff --git a/src/main.cpp b/src/main.cpp index 41415fb..066d16b 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -72,13 +72,6 @@ int main(int argc, char* argv[]) { configFile = argv[2]; - if (filesystem::exists(rapidMenuPath) && filesystem::is_directory(rapidMenuPath)) { - } else { - system(rapidcommand.c_str()); - cerr << "Setting up config." << endl; - return 1; - } - try { auto config = parse_file(configFile);