diff --git a/.gitignore b/.gitignore index a496952..3a5c937 100644 --- a/.gitignore +++ b/.gitignore @@ -93,6 +93,10 @@ Network Trash Folder Temporary Items .apdisk +# Intellij +.idea/ +*.iml + ###Snap### diff --git a/README.md b/README.md index 6bb7a8f..2301228 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,12 @@ See the difference by disabling this optimization using the `-0` option. Or just ## Installation +### Snap + + sudo snap install --edge tiv + +### Build from source + sudo apt install imagemagick || yum install ImageMagick git clone https://github.com/stefanhaustein/TerminalImageViewer.git cd TerminalImageViewer/src/main/cpp @@ -37,7 +43,7 @@ The shell will expand wildcards. By default, thumbnails and file names will be d https://build.opensuse.org/package/show/home:megamaced/terminalimageviewer - bperel has created a Docker image: https://hub.docker.com/r/bperel/terminalimageviewer - - teresaejunior has created a snapcraft.yaml file, which can build a Snap package with `sudo docker run -it --rm -v "$PWD:$PWD" -w "$PWD" snapcore/snapcraft sh -c 'apt-get update && snapcraft'`, and then installed with `sudo snap install --dangerous ./*.snap`, until tiv is available in the Snap Store. + - teresaejunior has created a snapcraft.yaml file, which can build a Snap package with `sudo docker run -it --rm -v "$PWD:$PWD" -w "$PWD" snapcore/snapcraft sh -c 'apt-get update && snapcraft'`, and then installed with `sudo snap install --dangerous ./*.snap`. ## Common problems diff --git a/snapcraft.yaml b/snapcraft.yaml index 2a9e04d..6ab2f8f 100644 --- a/snapcraft.yaml +++ b/snapcraft.yaml @@ -26,7 +26,7 @@ parts: install $SNAPCRAFT_PART_BUILD/tiv $SNAPCRAFT_PART_INSTALL/usr/bin/ imagemagick: plugin: autotools - source: https://www.imagemagick.org/download/releases/ImageMagick-7.0.8-19.tar.xz + source: https://www.imagemagick.org/download/releases/ImageMagick-7.0.8-23.tar.xz source-type: tar configflags: - --enable-hdri=yes