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 //go:embed alpine.txt
var alpine string var alpine string
//go:embed amog.txt
var amog string
//go:embed unknown.txt //go:embed unknown.txt
var unknown string var unknown string
@ -152,6 +155,8 @@ func GetAsciiInternal(distroID string) string {
return arch return arch
case "windows": case "windows":
return windows return windows
case "amog":
return amog
default: default:
return unknown return unknown
} }

View file

@ -17,6 +17,7 @@ var asciiforced = false
var forceddistro string var forceddistro string
var Defaultconf bool = false var Defaultconf bool = false
var Defaultcolor bool = false var Defaultcolor bool = false
var colorold bool = false
func Gethn() string { func Gethn() string {
cmd := exec.Command("whoami") cmd := exec.Command("whoami")
@ -47,6 +48,11 @@ func Initargs() {
Defaultconf = true Defaultconf = true
case "--nocolorconf": case "--nocolorconf":
Defaultcolor = true Defaultcolor = true
case "--16color":
colorold = true
default:
print("unknown argument: ", argument, "\n")
os.Exit(0)
} }
} }
} }