From 0d9de23d076f0e83b56019512f5284e6fb9e6f02 Mon Sep 17 00:00:00 2001 From: echo <91651232+exhq@users.noreply.github.com> Date: Thu, 13 Oct 2022 11:02:18 +0330 Subject: [PATCH] bruh --- asciiarts/amog.txt | 4 ++++ asciiarts/asciiart.go | 5 +++++ utils/args.go | 6 ++++++ 3 files changed, 15 insertions(+) create mode 100644 asciiarts/amog.txt diff --git a/asciiarts/amog.txt b/asciiarts/amog.txt new file mode 100644 index 0000000..ab0d48b --- /dev/null +++ b/asciiarts/amog.txt @@ -0,0 +1,4 @@ + ┌──┐ +┌┤ █▋ +└┤┌┐│ + └┘└┘ \ No newline at end of file diff --git a/asciiarts/asciiart.go b/asciiarts/asciiart.go index 3558482..15366d8 100644 --- a/asciiarts/asciiart.go +++ b/asciiarts/asciiart.go @@ -8,6 +8,9 @@ import ( //go:embed alpine.txt var alpine string +//go:embed amog.txt +var amog string + //go:embed unknown.txt var unknown string @@ -152,6 +155,8 @@ func GetAsciiInternal(distroID string) string { return arch case "windows": return windows + case "amog": + return amog default: return unknown } diff --git a/utils/args.go b/utils/args.go index 798c2f9..1df5bb0 100644 --- a/utils/args.go +++ b/utils/args.go @@ -17,6 +17,7 @@ var asciiforced = false var forceddistro string var Defaultconf bool = false var Defaultcolor bool = false +var colorold bool = false func Gethn() string { cmd := exec.Command("whoami") @@ -47,6 +48,11 @@ func Initargs() { Defaultconf = true case "--nocolorconf": Defaultcolor = true + case "--16color": + colorold = true + default: + print("unknown argument: ", argument, "\n") + os.Exit(0) } } }