This commit is contained in:
echo 2022-10-13 11:02:18 +03:30
parent 5bc10073db
commit 0d9de23d07
3 changed files with 15 additions and 0 deletions

4
asciiarts/amog.txt Normal file
View file

@ -0,0 +1,4 @@
┌──┐
┌┤ █▋
└┤┌┐│
└┘└┘

View file

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

View file

@ -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)
}
}
}