Skip to content
Snippets Groups Projects
Unverified Commit 8dff887a authored by Christian Clauss's avatar Christian Clauss Committed by GitHub
Browse files

Update hackingtool.py

parent bf5c1c90
Branches
No related tags found
No related merge requests found
......@@ -74,7 +74,8 @@ class AllTools(HackingToolsCollection):
if __name__ == "__main__":
try:
if system() == 'Linux':
fpath = "~/hackingtoolpath.txt"
# Testing platforms like GitHub Actions define a $CI environment variable
fpath = "/tmp/hackingtoolpath.txt" if os.getenv("CI") else "/home/hackingtoolpath.txt"
if not os.path.exists(fpath):
os.system('clear')
# run.menu()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment