fixed images, support for having other distro's asciiart/png

This commit is contained in:
echo 2022-09-25 12:45:00 +03:30
parent 393857701f
commit 1c02e71c47

View file

@ -8,7 +8,11 @@ var ArchArt []byte
//go:embed ubuntu.jpg //go:embed ubuntu.jpg
var UbuntuArt []byte var UbuntuArt []byte
//go:embed saul.png
var saulArt []byte
var DistroImages = map[string][]byte{ var DistroImages = map[string][]byte{
"arch": ArchArt, "arch": ArchArt,
"saul": saulArt,
"ubuntu": UbuntuArt, "ubuntu": UbuntuArt,
} }