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/