mirror of
https://github.com/Z4nzu/hackingtool
synced 2026-05-23 17:08:25 +00:00
Fix Error
This commit is contained in:
parent
366dbcd453
commit
34889162c8
1 changed files with 10 additions and 9 deletions
|
|
@ -1529,20 +1529,21 @@ def clearScr():
|
|||
if __name__ == "__main__":
|
||||
try:
|
||||
if system() == 'Linux':
|
||||
os.chdir("/home/")
|
||||
if os.path.isdir('hackingtool'):
|
||||
os.chdir("/home/hackingtool/")
|
||||
menu()
|
||||
else :
|
||||
os.system("mkdir hackingtool")
|
||||
menu()
|
||||
if system() == 'android':
|
||||
if path.exists("/home/")
|
||||
os.chdir("/home/")
|
||||
if os.path.isdir('hackingtool'):
|
||||
os.chdir("/home/hackingtool/")
|
||||
menu()
|
||||
else :
|
||||
os.system("mkdir hackingtool")
|
||||
menu()
|
||||
elif path.exists('/data'):
|
||||
os.chdir("data/data/com.termux/files/home/")
|
||||
if os.path.isdir('hackingtool'):
|
||||
os.chdir("data/data/com.termux/files/home/hackingtool/")
|
||||
menu()
|
||||
else :
|
||||
os.system("mkdir hackingtool")
|
||||
os.system("mkdir hackingtoolstore")
|
||||
menu()
|
||||
except KeyboardInterrupt:
|
||||
print(" Sorry ..!!!")
|
||||
|
|
|
|||
Loading…
Reference in a new issue