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

This commit is contained in:
echo 2022-09-25 12:45:00 +03:30 committed by nea
parent 99a6d51717
commit 9a83ca70b5
No known key found for this signature in database
GPG key ID: AA563E93EB628D91

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,
} }