From 0129b235dab816d30ec7158e6606de9c1e4275a6 Mon Sep 17 00:00:00 2001 From: pavlik_dev <121434853+pavliktt@users.noreply.github.com> Date: Fri, 23 Aug 2024 20:15:41 +0300 Subject: [PATCH] Update README.md --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 3d743e5..8f7128c 100644 --- a/README.md +++ b/README.md @@ -9,14 +9,14 @@ A simple C++ program that displays information about files and folders. ## Installation If you want the program to detect the file type more accurately, install `libmagic-dev` through your package manager, or with the `./configure` command
-If you haven't installed `libmagic-dev`, please add this line to the very top of `main.cpp`: -```c++ -#define NO_MIME -``` Then, compile the source code.
``` make ``` +Or, if you haven't installed `libmagic-dev`: +``` +make nomime +``` And finally, copy that executable to /usr/local/bin folder. (not required)
``` sudo cp fileinfo /usr/local/bin/