This commit is contained in:
echo 2022-10-21 13:31:57 +03:30
parent 275c50f0e9
commit 80b1385b62

View file

@ -20,6 +20,13 @@ func checkforconfigfolder() {
}
}
func termuxcheck() {
if strings.Contains(os.Getenv("OSTYPE"), "android") {
print("lmao go buy a pc broke ass mf 💀\n")
os.Exit(0)
}
}
func handleConfig() {
_, folder := os.Stat(filepath.Dir(data.GetConfigFile()))
_, file := os.Stat(data.GetConfigFile())
@ -88,6 +95,7 @@ func handlePrint(action, format string, rest string) {
}
func main() {
termuxcheck()
checkforconfigfolder()
utils.Initargs()
utils.Initcolor()