diff --git a/hackingtool.py b/hackingtool.py index 1e6da0b1edc0c8809dd80c4fd63a62cb7c014cc4..4bd872967a094ca28f675c0b8c62a8606e8c1c14 100755 --- a/hackingtool.py +++ b/hackingtool.py @@ -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()