Update README.md

This commit is contained in:
Milan Nikolic
2024-11-04 16:18:31 +01:00
parent bf95d62242
commit ee2cf2e14d

View File

@@ -28,8 +28,8 @@ Linux Flatpak is available at [Flathub](https://flathub.org/apps/io.github.gen2b
### Using cbconvert in file managers to generate FreeDesktop thumbnails ### Using cbconvert in file managers to generate FreeDesktop thumbnails
Copy `cbconvert` cli binary to your `PATH`, create file `~/.local/share/thumbnailers/cbconvert.thumbnailer` Copy/install `cbconvert` cli binary to your `PATH`, create file `~/.local/share/thumbnailers/cbconvert.thumbnailer`
and paste content from [thumbnailer](https://github.com/gen2brain/cbconvert/tree/master/cmd/cbconvert-gui/dist/linux/io.github.gen2brain.cbconvert.thumbnailer). and paste contents from [thumbnailer](https://github.com/gen2brain/cbconvert/tree/master/cmd/cbconvert-gui/dist/linux/io.github.gen2brain.cbconvert.thumbnailer).
This is what it looks like in the `PCManFM` file manager: This is what it looks like in the `PCManFM` file manager:
@@ -182,6 +182,8 @@ This table maps quality settings for JPEG to the respective AVIF and WEBP qualit
### Compile ### Compile
You must have `CGO_ENABLED=1`. Note that `Go` will disable cgo when cross-compiling.
Install to `GOBIN` (you can point `GOBIN` to e.g. `/usr/local/bin` or `~/.local/bin`): Install to `GOBIN` (you can point `GOBIN` to e.g. `/usr/local/bin` or `~/.local/bin`):
`go install github.com/gen2brain/cbconvert/cmd/cbconvert@latest` `go install github.com/gen2brain/cbconvert/cmd/cbconvert@latest`