Update README.md

This commit is contained in:
pavlik_dev 2024-08-23 20:15:41 +03:00 committed by GitHub
parent 8c0d269ad3
commit 0129b235da
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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
<br>
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.<br>
```
make
```
Or, if you haven't installed `libmagic-dev`:
```
make nomime
```
And finally, copy that executable to /usr/local/bin folder. (not required)<br>
```
sudo cp fileinfo /usr/local/bin/