From b229f94116ee8f62147a2fe2f1a364a02219f143 Mon Sep 17 00:00:00 2001 From: Brian <18603393+brian6932@users.noreply.github.com> Date: Fri, 4 Nov 2022 18:15:43 -0400 Subject: [PATCH] Updated Scoop directions The PR to main has been merged https://github.com/ScoopInstaller/Main/pull/4087 --- README.md | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 03a23c7..859ff5a 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ [![release-version](https://img.shields.io/github/v/release/TheZoraiz/ascii-image-converter?label=Latest%20Version)](https://github.com/TheZoraiz/ascii-image-converter/releases/latest) [![license](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://github.com/TheZoraiz/ascii-image-converter/blob/master/LICENSE.txt) -[![language](https://img.shields.io/badge/Language-Go-blue)](https://golang.org/) +[![language](https://img.shields.io/badge/Language-Go-blue)](https://golang.org/) ![release-downloads](https://img.shields.io/github/downloads/TheZoraiz/ascii-image-converter/total?color=1d872d&label=Release%20Downloads) [![ascii-image-converter-snap](https://snapcraft.io/ascii-image-converter/badge.svg)](https://snapcraft.io/ascii-image-converter) @@ -42,7 +42,7 @@ Input formats currently supported: ## Installation -### Debian or Ubuntu-based Distros +### Debian or Ubuntu-based Distros Execute the following commands in order: @@ -97,18 +97,15 @@ AUR helper: ### Scoop -The scoop bucket is maintained by [brian6932](https://github.com/brian6932) +The scoop manifest is maintained by [brian6932](https://github.com/brian6932) -``` -scoop bucket add dank-scoop https://github.com/brian6932/dank-scoop/ -``` ``` scoop install ascii-image-converter ```
-### Snap +### Snap > **Note:** The snap will not have access to hidden files and files outside the $HOME directory. This includes write access for saving ascii art as well. @@ -288,7 +285,7 @@ ascii-image-converter [image paths/urls] -H 60 Pass a string of your own ascii characters to map against. Passed characters must start from darkest character and end with lightest. There is no limit to number of characters. Empty spaces can be passed if string is passed inside quotation marks. You can use both single or double quote for quotation marks. For repeating quotation mark inside string, append it with \ (such as \\"). - + ``` ascii-image-converter [image paths/urls] -m "" # Or @@ -477,15 +474,15 @@ func main() { // There are more flags, but these are the ones shown for demonstration flags.Dimensions = []int{50, 25} flags.Colored = true - flags.SaveTxtPath = "." + flags.SaveTxtPath = "." flags.SaveImagePath = "." flags.CustomMap = " .-=+#@" flags.FontFilePath = "./RobotoMono-Regular.ttf" // If file is in current directory flags.SaveBackgroundColor = [4]int{50, 50, 50, 100} - + // Note: For environments where a terminal isn't available (such as web servers), you MUST // specify atleast one of flags.Width, flags.Height or flags.Dimensions - + // Conversion for an image asciiArt, err := aic_package.Convert(filePath, flags) if err != nil {