Added snap support
This commit is contained in:
parent
8e853d5b21
commit
3a2d7daabf
|
|
@ -22,6 +22,14 @@ Image formats currently supported:
|
|||
|
||||
## Installation
|
||||
|
||||
### Snap
|
||||
|
||||
You can download through snap. However, the snap will not have access to hidden images and images outside the $HOME directory.
|
||||
|
||||
```
|
||||
sudo snap install ascii-image-converter --stable
|
||||
```
|
||||
|
||||
### Go
|
||||
For custom Go installs
|
||||
```
|
||||
|
|
|
|||
|
|
@ -0,0 +1,31 @@
|
|||
name: ascii-image-converter # you probably want to 'snapcraft register <name>'
|
||||
base: core18 # the base snap is the execution environment for this snap
|
||||
version: '1.2.0' # just for humans, typically '1.2+git' or '1.3.2'
|
||||
summary: Converts images into ascii format
|
||||
description: |
|
||||
This tool converts images into ascii format and prints them onto the terminal window.
|
||||
Supported image formats are JPEG/JPG, PNG, WEBP, BMP and TIFF/TIF. Further configuration can be managed by flags.
|
||||
|
||||
grade: stable
|
||||
confinement: strict
|
||||
|
||||
license: Apache-2.0
|
||||
|
||||
parts:
|
||||
ascii-image-converter:
|
||||
plugin: go
|
||||
go-importpath: github.com/TheZoraiz/ascii-image-converter
|
||||
source: .
|
||||
source-type: git
|
||||
build-packages:
|
||||
- gcc
|
||||
|
||||
apps:
|
||||
ascii-image-converter:
|
||||
command: bin/ascii-image-converter
|
||||
plugs:
|
||||
- home
|
||||
|
||||
architectures:
|
||||
- build-on: amd64
|
||||
run-on: [arm64, armhf, amd64, i386]
|
||||
Loading…
Reference in New Issue