💀
This commit is contained in:
parent
275c50f0e9
commit
80b1385b62
1 changed files with 8 additions and 0 deletions
8
main.go
8
main.go
|
@ -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() {
|
func handleConfig() {
|
||||||
_, folder := os.Stat(filepath.Dir(data.GetConfigFile()))
|
_, folder := os.Stat(filepath.Dir(data.GetConfigFile()))
|
||||||
_, file := os.Stat(data.GetConfigFile())
|
_, file := os.Stat(data.GetConfigFile())
|
||||||
|
@ -88,6 +95,7 @@ func handlePrint(action, format string, rest string) {
|
||||||
}
|
}
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
termuxcheck()
|
||||||
checkforconfigfolder()
|
checkforconfigfolder()
|
||||||
utils.Initargs()
|
utils.Initargs()
|
||||||
utils.Initcolor()
|
utils.Initcolor()
|
||||||
|
|
Loading…
Reference in a new issue